Fix workflow inputs context for push events

This commit is contained in:
rcourtman 2025-11-13 23:42:59 +00:00
parent a8b6143408
commit f1303cf339

View file

@ -31,7 +31,7 @@ jobs:
TAG="${GITHUB_REF#refs/tags/}"
VERSION="${TAG#v}"
else
VERSION="${{ inputs.version }}"
VERSION="${{ github.event.inputs.version }}"
TAG="v${VERSION}"
fi
echo "tag=${TAG}" >> $GITHUB_OUTPUT
@ -323,7 +323,7 @@ jobs:
- name: Prepare release notes
id: generate_notes
env:
RELEASE_NOTES_INPUT: ${{ inputs.release_notes }}
RELEASE_NOTES_INPUT: ${{ github.event.inputs.release_notes || '' }}
run: |
VERSION="${{ needs.extract_version.outputs.version }}"