File tree Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Original file line number Diff line number Diff line change 1- name : Windows PyInstaller Builds
1+ name : Windows PyInstaller Builds and Release Notes
22
33on :
44 push :
55 branches :
66 - main
77 paths-ignore :
88 - ' **.md'
9- pull_request :
10- branches :
11- - main
12- paths-ignore :
13- - ' **.md'
149
1510jobs :
1611 build :
17-
1812 runs-on : ubuntu-latest
1913
2014 steps :
15+ - id : release_drafter
16+ uses : release-drafter/release-drafter@v5
17+ env :
18+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19+
2120 - uses : actions/checkout@v2
2221
2322 - name : Package Application
2423 uses : JackMcKew/pyinstaller-action-windows@main
2524 with :
2625 path : .
2726
28- - uses : actions/upload-artifact@v2
27+ - name : Upload binaries as artifact
28+ uses : actions/upload-artifact@v2
2929 with :
3030 name : PinetimeFlasher-for-Windows
31- path : ./dist/windows
31+ path : ./dist/windows
32+
33+ - name : Upload binaries to release
34+ uses : svenstaro/upload-release-action@v2
35+ with :
36+ repo_token : ${{ secrets.GITHUB_TOKEN }}
37+ file : ./dist/windows/PinetimeFlasher.exe
38+ asset_name : PinetimeFlasher.exe
39+ tag : ${{ steps.release_drafter.outputs.tag_name }}
40+ overwrite : true
You can’t perform that action at this time.
0 commit comments