File tree Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change 11name : Release
2- on :
3- workflow_dispatch :
4- inputs :
5- dryrun :
6- description : " DryRun"
7- required : false
8- default : ' true'
2+ on : [workflow_dispatch]
93jobs :
104 release :
115 name : Release
126 runs-on : ubuntu-latest
7+ # if: github.ref == 'refs/heads/master'
138 steps :
149
15- - uses : actions/checkout@v2
10+ - name : Setup Node.js for use with actions
11+ uses : actions/setup-node@v2.1.5
1612
17- - name : git/unshallow
13+ - name : Checkout
14+ uses : actions/checkout@v2
15+
16+ - name : Unshallow
1817 run : git fetch --prune --unshallow
1918
20- - uses : cycjimmy/semantic-release-action@v2
21- with :
22- dry_run : ${{ github.event.inputs.dryrun }}
23- extra_plugins : |
24- @semantic-release/changelog
25- @semantic-release/git
19+ - name : Run semantic-release
20+ run : npx -p @semantic-release/changelog -p semantic-release@17.3.0 -p @semantic-release/git semantic-release
2621 env :
27- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
22+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments