mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-05 22:16:04 +08:00
fix deploy pipeline (#763)
This commit is contained in:
parent
92488b8ab2
commit
a6966e3148
11
.github/workflows/releases.yml
vendored
11
.github/workflows/releases.yml
vendored
@ -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…
x
Reference in New Issue
Block a user