Skip to content

Commit 200f1de

Browse files
committed
actions: pyinstaller artifacts with version number from tag
1 parent 815873b commit 200f1de

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pyinstaller-build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ 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
1823
- uses: actions/setup-python@v2
1924
with:
2025
python-version: 3.10.7
@@ -26,5 +31,5 @@ jobs:
2631
#- run: ./dist/your-code/your-code
2732
- uses: actions/upload-artifact@v3
2833
with:
29-
name: Tuttle-${{ matrix.os }}
34+
name: Tuttle-${{ steps.previoustag.outputs.tag }}-${{ matrix.os }}
3035
path: dist/

0 commit comments

Comments
 (0)