mirror of https://github.com/actions/toolkit
fix deploy pipeline (#763)
parent
92488b8ab2
commit
a6966e3148
|
@ -51,11 +51,14 @@ jobs:
|
|||
with:
|
||||
name: ${{ github.event.inputs.package }}
|
||||
|
||||
- name: publish
|
||||
run: npm publish *.tgz
|
||||
- name: setup authentication
|
||||
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.TOKEN }}
|
||||
|
||||
- name: publish
|
||||
run: npm publish *.tgz
|
||||
|
||||
- name: notify slack on failure
|
||||
if: failure()
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue