Skip to content

Commit b243df1

Browse files
committed
ci: update assets with tag version
1 parent 4961ad1 commit b243df1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-binaries.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@v5
3232
with:
33-
ref: ${{ inputs.tag }}
33+
ref: ${{ inputs.tag || github.ref_name }}
3434

3535
- name: Install Python shared library (Linux)
3636
if: matrix.os == 'linux'
@@ -84,5 +84,6 @@ jobs:
8484
- name: Upload binaries to release
8585
env:
8686
GH_TOKEN: ${{ github.token }}
87+
TAG: ${{ inputs.tag || github.ref_name }}
8788
run: |
88-
gh release upload ${{ inputs.tag }} binaries/* --clobber
89+
gh release upload "$TAG" binaries/* --clobber

0 commit comments

Comments
 (0)