We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da5b57e commit c1bd2d3Copy full SHA for c1bd2d3
.github/workflows/release.yml
@@ -18,12 +18,16 @@ jobs:
18
tag: ${{ steps.set-tag.outputs.tag }}
19
steps:
20
- id: set-tag
21
+ name: Determine Tag
22
run: |
23
+ # Determine the tag name for this release
24
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
- echo "::set-output name=tag::${{ github.event.inputs.tag }}"
25
+ TAG="${{ github.event.inputs.tag }}"
26
else
- echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
27
+ TAG="${GITHUB_REF#refs/tags/}"
28
fi
29
+ # Export the tag output
30
+ echo "tag=$TAG" >> "$GITHUB_OUTPUT"
31
shell: bash
32
33
build-linux:
0 commit comments