File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -253,14 +253,11 @@ jobs:
253253 with :
254254 name : release-build
255255 path : _release/
256- - uses : JS-DevTools/ npm-publish@v1
256+ - name : Publish to npm with tag ${{ github.event.inputs.tag_name }}
257257 if : ${{ github.event.inputs.tag_name }}
258- with :
259- token : ${{ secrets.NPM_TOKEN }}
260- package : ./_release/package.json
261- tag : ${{ github.event.inputs.tag_name }}
262- - uses : JS-DevTools/npm-publish@v1
258+ working-directory : _release
259+ run : yarn publish --tag ${{ github.event.inputs.tag_name }}
260+ - name : Publish to npm with tag latest
263261 if : ${{ !github.event.inputs.tag_name }}
264- with :
265- token : ${{ secrets.NPM_TOKEN }}
266- package : ./_release/package.json
262+ working-directory : _release
263+ run : yarn publish
You can’t perform that action at this time.
0 commit comments