File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 33 release :
44 types : [published]
55 workflow_dispatch :
6+ inputs :
7+ tag_name :
8+ description : ' Tag to build'
9+ required : true
10+ default : ' v0.x.x'
611env :
712 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
813jobs :
2328 run : ' python3 make_release.py --game-version 2'
2429 - name : Upload artifact
2530 run : >
26- gh release upload ${{ github.event.release.tag_name }} (Get-ChildItem Dist -File).FullName --clobber -R ${{ github.repository }};
27-
31+ gh release upload ${{ github.event.release.tag_name || github.event.inputs.tag_name }} (Get-ChildItem Dist -File).FullName --clobber -R ${{ github.repository }};
Original file line number Diff line number Diff line change 66 releaseVersion :
77 description : ' Version number to use for this release'
88 required : true
9- default : ' 2 .x.x'
9+ default : ' 0 .x.x'
1010 releaseNoteUrl :
1111 description : ' Enter the location of edited release notes to use'
1212 required : false
You can’t perform that action at this time.
0 commit comments