File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,22 @@ name: Publish Release
33on :
44 pull_request :
55 types :
6- - closed
6+ - closed
77 paths :
8- - ' package.json'
9- - ' package-lock.json'
8+ - " package.json"
9+ - " package-lock.json"
10+ workflow_dispatch :
11+ inputs :
12+ tag :
13+ type : string
14+ description : " The release tag that should be published (i.e. `v1.2.3`)"
15+ required : true
1016
1117jobs :
1218 run :
13- if : startsWith( github.head_ref, 'release/')
19+ if : github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release/')
1420 uses : rokucommunity/workflows/.github/workflows/publish-release.yml@master
1521 with :
1622 release-type : " vsce"
17- ref : ${{ github.event.pull_request.merge_commit_sha }}
23+ ref : ${{ github.event.inputs.tag || github.event. pull_request.merge_commit_sha }}
1824 secrets : inherit
You can’t perform that action at this time.
0 commit comments