Skip to content

Commit 326fb91

Browse files
committed
try to get tag namein pyinstaller build
1 parent 44f04a2 commit 326fb91

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/pyinstaller-build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: 'Get Previous tag'
19-
id: previoustag
20-
uses: "WyriHaximus/github-action-get-previous-tag@v1"
21-
with:
22-
fallback: 0.0.0 # Optional fallback tag to use when no tag can be foun
18+
- name: Get tag
19+
id: get-tag
20+
run: |
21+
echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
2322
- uses: actions/setup-python@v2
2423
with:
2524
python-version: 3.10.7
@@ -30,5 +29,5 @@ jobs:
3029
#- run: ./dist/your-code/your-code
3130
- uses: actions/upload-artifact@v3
3231
with:
33-
name: Tuttle-${{ steps.previoustag.outputs.tag }}-${{ matrix.os }}
32+
name: Tuttle-${{ steps.get-tag.output }}-${{ matrix.os }}
3433
path: dist/

0 commit comments

Comments
 (0)