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