File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -199,9 +199,6 @@ jobs:
199199 if : ${{github.event.inputs.publish}}
200200 name : Publish
201201 runs-on : ubuntu-latest
202- needs :
203- - test-linux-x64-gnu-binding
204- - test-macOS-binding
205202 steps :
206203 - uses : actions/checkout@v3
207204 - name : Setup node
@@ -230,17 +227,8 @@ jobs:
230227 shell : bash
231228 - name : Publish
232229 run : |
233- if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
234- then
235- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
236- npm publish --access public
237- elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
238- then
239- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
240- npm publish --tag next --access public
241- else
242- echo "Not a release, skipping publish"
243- fi
230+ echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
231+ npm publish --access public
244232 env :
245233 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
246234 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments