File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 77 github-package-name :
88 description : ' The name of the package to publish on GitHub. This must always start with your "@" GitHub username, eg. "@foobar/my-package".'
99 required : true
10+ npm-token :
11+ description : ' The auth token to NPM.'
12+ required : true
13+ github-token :
14+ description : ' The auth token to GitHub.'
15+ required : true
1016runs :
1117 using : " composite"
1218 steps :
2329
2430 - name : Publish to NPM
2531 env :
26- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
32+ NODE_AUTH_TOKEN : ${{ inputs.npm-token }}
2733 run : |
2834 npm publish
2935
4046
4147 - name : Publish to GitHub Packages
4248 env :
43- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49+ NODE_AUTH_TOKEN : ${{ inputs.github-token }}
4450 run : |
4551 npm publish
You can’t perform that action at this time.
0 commit comments