Merge pull request #16 from JMR-dev/fix-gha-workflow

Workflow fix to git sha
This commit was merged in pull request #16.
This commit is contained in:
Jason Ross
2026-05-23 17:58:43 -05:00
committed by GitHub
+3 -2
View File
@@ -7,7 +7,7 @@ on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to release (e.g. v0.1.0). The tag must already exist.'
description: 'Tag to release (e.g. v0.1.0).'
required: true
type: string
@@ -22,7 +22,7 @@ jobs:
id: ref
run: |
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
echo "ref=${{ inputs.tag }}" >> "$GITHUB_OUTPUT"
echo "ref=${{ github.ref }}" >> "$GITHUB_OUTPUT"
echo "tag=${{ inputs.tag }}" >> "$GITHUB_OUTPUT"
else
echo "ref=${{ github.ref }}" >> "$GITHUB_OUTPUT"
@@ -56,6 +56,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.ref.outputs.tag }}
name: ${{ steps.ref.outputs.tag }}
target_commitish: ${{ github.sha }}
generate_release_notes: true
fail_on_unmatched_files: true
files: |