Skip to content

Commit be83db8

Browse files
author
Roy Lin
committed
fix(release): support SDK registry tokens
1 parent 5328dea commit be83db8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish-sdk.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ jobs:
238238
path: publish/npm
239239

240240
- name: Publish npm package
241+
env:
242+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
241243
run: npm publish publish/npm/*.tgz --access public
242244

243245
publish-pypi:
@@ -258,4 +260,5 @@ jobs:
258260
- name: Publish PyPI package
259261
uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # release/v1
260262
with:
263+
password: ${{ secrets.PYPI_API_TOKEN }}
261264
packages-dir: publish/pypi

0 commit comments

Comments
 (0)