Skip to content

Commit ddab8e8

Browse files
committed
Add global env config
1 parent 736dbee commit ddab8e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish-package.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [created]
66

7+
env:
8+
NPM_TOKEN: ${{secrets.GITHUB_TOKEN}}
9+
710
jobs:
811
publish-gpr:
912
runs-on: ubuntu-latest
@@ -42,5 +45,3 @@ jobs:
4245
body: Bump package.json version
4346
branch: bump-version-${{ steps.get_version.outputs.VERSION }}
4447
base: master
45-
env:
46-
NPM_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)