Skip to content

Commit 5853c52

Browse files
committed
build: add release via github action
1 parent 16abf84 commit 5853c52

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-win.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,13 @@ jobs:
1818
with:
1919
name: hh-creator
2020
path: pyinstaller/dist/windows
21+
- name: Zip for release
22+
uses: montudor/action-zip@v1
23+
if: startsWith(github.ref, 'refs/tags/v')
24+
with:
25+
args: zip -qq -r hh-creator-${{ github.ref_name }}-windows.zip pyinstaller/dist/windows
26+
- name: Release
27+
uses: softprops/action-gh-release@v2
28+
if: startsWith(github.ref, 'refs/tags/v')
29+
with:
30+
files: hh-creator-${{ github.ref_name }}-windows.zip

0 commit comments

Comments
 (0)