Skip to content

Commit 1ba3e78

Browse files
committed
Set NODE_AUTH_TOKEN globally for publish-gpr action.
1 parent d4bc706 commit 1ba3e78

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
with:
3737
registry-url: https://npm.pkg.github.com/
3838
scope: '@contasystemer'
39+
- run: echo "::set-env name=NODE_AUTH_TOKEN::${{secrets.PUBLISH_GITHUB_TOKEN}}"
3940
- run: npm ci
4041
- run: echo registry=https://npm.pkg.github.com/contasystemer >> .npmrc
41-
- run: npm publish
42-
env:
43-
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_GITHUB_TOKEN}}
42+
- run: npm publish

0 commit comments

Comments
 (0)