Skip to content

Commit 59cd6de

Browse files
committed
test: get latest tag for pyinstaller build
1 parent 326fb91 commit 59cd6de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pyinstaller-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Get tag
1919
id: get-tag
2020
run: |
21-
echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
21+
echo "::set-output name=tag::$(git describe --tags --abbrev=0)"
2222
- uses: actions/setup-python@v2
2323
with:
2424
python-version: 3.10.7
@@ -29,5 +29,5 @@ jobs:
2929
#- run: ./dist/your-code/your-code
3030
- uses: actions/upload-artifact@v3
3131
with:
32-
name: Tuttle-${{ steps.get-tag.output }}-${{ matrix.os }}
32+
name: Tuttle-${{ steps.get-tag.outputs.tag }}-${{ matrix.os }}
3333
path: dist/

0 commit comments

Comments
 (0)