Skip to content

Create release

Create release #4

Workflow file for this run

name: "Create release ${{ inputs.version }}"

Check failure on line 2 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Create release ${{ inputs.version }}

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 2, Col: 7): Unrecognized named-value: 'inputs'. Located at position 1 within expression: inputs.version
on:
workflow_dispatch:
inputs:
version:
description: 'Version to be released'
type: string
required: true
deploy:
description: 'Run deployment workflow'
type: boolean
default: true
jobs:
release-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Create tag"
run: |
git tag "${{ inputs.version }}"
git push --tags