File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed
Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change 1- name : Build Hashing Algorithm
1+ name : Build and Release
22
33on :
4- push :
5- branches : [ main, master ]
6- pull_request :
7- branches : [ main, master ]
8- workflow_dispatch :
4+ release :
5+ types : [created]
96
107jobs :
118 build-windows :
@@ -48,14 +45,16 @@ jobs:
4845 run : pyinstaller --clean HashingGUI.spec
4946 shell : cmd
5047
51- - name : Upload compiled executables
52- uses : actions/upload-artifact@v4
53- with :
54- name : hashing-executables
55- path : bin/*.exe
48+ - name : Create distribution archive
49+ run : |
50+ cd dist
51+ tar -czf HashingGUI-Windows.tar.gz *
52+ cd ..
53+ shell : bash
5654
57- - name : Upload PyInstaller build
58- uses : actions/upload-artifact@v4
55+ - name : Upload release asset
56+ uses : softprops/action-gh-release@v1
5957 with :
60- name : HashingGUI-Windows
61- path : dist/
58+ files : dist/HashingGUI-Windows.tar.gz
59+ env :
60+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments