File tree 1 file changed +11
-16
lines changed
1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change 1
1
name : Release
2
- on :
3
- workflow_dispatch :
4
- inputs :
5
- dryrun :
6
- description : " DryRun"
7
- required : false
8
- default : ' true'
2
+ on : [workflow_dispatch]
9
3
jobs :
10
4
release :
11
5
name : Release
12
6
runs-on : ubuntu-latest
7
+ # if: github.ref == 'refs/heads/master'
13
8
steps :
14
9
15
- - uses : actions/checkout@v2
10
+ - name : Setup Node.js for use with actions
11
+
16
12
17
- - name : git/unshallow
13
+ - name : Checkout
14
+ uses : actions/checkout@v2
15
+
16
+ - name : Unshallow
18
17
run : git fetch --prune --unshallow
19
18
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 [email protected] -p @semantic-release/git semantic-release
26
21
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