File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 77name : Deploy and Publish
88
99on :
10- push :
11- branches : [ '**' ]
12- pull_request :
10+ workflow_run :
11+ workflows : ["Build and Test"]
1312 branches : [ master ]
13+ types :
14+ - completed
1415
1516 # Allows you to run this workflow manually from the Actions tab
1617 workflow_dispatch :
@@ -63,14 +64,14 @@ jobs:
6364 env :
6465 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
6566 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
66- run : echo ::set-output name=IS_NEW_RELEASE::$(npx semantic-release --dry-run --branches 9662_addcheck | grep -c -i "Published release")
67+ run : echo ::set-output name=IS_NEW_RELEASE::$(npx semantic-release --dry-run | grep -c -i "Published release")
6768
6869 - name : Publish to Git Releases and Tags
6970 if : ${{ steps.is_new_release.outputs.IS_NEW_RELEASE == '1' }}
7071 env :
7172 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
7273 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
73- run : npx semantic-release --dry-run --branches 9662_addcheck
74+ run : npx semantic-release # --dry-run --branches 9662_addcheck
7475
7576 - name : Publish to Maven Central
7677 if : ${{ steps.is_new_release.outputs.IS_NEW_RELEASE == '1' }}
You can’t perform that action at this time.
0 commit comments