mirror of
https://github.com/actions/toolkit.git
synced 2026-08-07 00:00:18 +02:00
npm trusted publishing
Signed-off-by: Brian DeHamer <[email protected]>
This commit is contained in:
@@ -74,11 +74,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ github.event.inputs.package }}
|
name: ${{ github.event.inputs.package }}
|
||||||
|
|
||||||
- name: setup authentication
|
|
||||||
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
|
|
||||||
env:
|
|
||||||
NPM_TOKEN: ${{ secrets.TOKEN }}
|
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
run: npm publish --provenance *.tgz
|
run: npm publish --provenance *.tgz
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user