File tree Expand file tree Collapse file tree 1 file changed +37
-2
lines changed
Expand file tree Collapse file tree 1 file changed +37
-2
lines changed Original file line number Diff line number Diff line change 11name : Build and Auto-Release EXE
2- on : [push]
2+
3+ on :
4+ push :
5+ branches :
6+ - main # Runs on push to main
37
48jobs :
59 build :
3741 uses : actions/upload-artifact@v4
3842 with :
3943 name : built-exe
40- path : gui.exe
44+ path : gui.exe
45+
46+ release :
47+ needs : build
48+ runs-on : ubuntu-latest
49+
50+ steps :
51+ - name : Checkout Repository
52+ uses : actions/checkout@v4
53+
54+ - name : Download Built EXE
55+ uses : actions/download-artifact@v4
56+ with :
57+ name : built-exe
58+
59+ - name : Bump Version and Create Tag
60+ id : tag
61+ uses : anothrNick/github-tag-action@v1
62+ with :
63+ default_bump : patch # Change to minor or major if needed
64+ tag_prefix : " v"
65+
66+ - name : Create GitHub Release
67+ uses : softprops/action-gh-release@v1
68+ with :
69+ tag_name : ${{ steps.tag.outputs.new_tag }}
70+ name : Release ${{ steps.tag.outputs.new_tag }}
71+ draft : false
72+ prerelease : false
73+ files : gui.exe
74+ env :
75+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments