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