We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4961ad1 commit b243df1Copy full SHA for b243df1
.github/workflows/build-binaries.yml
@@ -30,7 +30,7 @@ jobs:
30
steps:
31
- uses: actions/checkout@v5
32
with:
33
- ref: ${{ inputs.tag }}
+ ref: ${{ inputs.tag || github.ref_name }}
34
35
- name: Install Python shared library (Linux)
36
if: matrix.os == 'linux'
@@ -84,5 +84,6 @@ jobs:
84
- name: Upload binaries to release
85
env:
86
GH_TOKEN: ${{ github.token }}
87
+ TAG: ${{ inputs.tag || github.ref_name }}
88
run: |
- gh release upload ${{ inputs.tag }} binaries/* --clobber
89
+ gh release upload "$TAG" binaries/* --clobber
0 commit comments