File tree 1 file changed +2
-14
lines changed
1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -199,9 +199,6 @@ jobs:
199
199
if : ${{github.event.inputs.publish}}
200
200
name : Publish
201
201
runs-on : ubuntu-latest
202
- needs :
203
- - test-linux-x64-gnu-binding
204
- - test-macOS-binding
205
202
steps :
206
203
- uses : actions/checkout@v3
207
204
- name : Setup node
@@ -230,17 +227,8 @@ jobs:
230
227
shell : bash
231
228
- name : Publish
232
229
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
244
232
env :
245
233
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
246
234
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments