Skip to content

Commit edfaf41

Browse files
authored
Fix for release workflow file. (#26)
workflow_dispatch inputs are used by means of the "inputs." prefix. See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-of-onworkflow_dispatchinputs
1 parent 3b74442 commit edfaf41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
- name: Set release version output var depending on the trigger type.
2828
run: |
2929
if ${GITHUB_EVENT_NAME} == "workflow_dispatch"; then
30-
echo "Manually triggered workflow to make release ${{ on.workflow_dispatch.inputs.version }}"
31-
echo "::set-output name=release_tag::${{ on.workflow_dispatch.inputs.version }}"
30+
echo "Manually triggered workflow to make release ${{ inputs.version }}"
31+
echo "::set-output name=release_tag::${{ inputs.version }}"
3232
else
3333
echo "New release published: ${{ github.ref_name }}"
3434
echo "::set-output name=release_tag::${{ github.ref_name }}"

0 commit comments

Comments
 (0)