Skip to content

Commit 79f3da4

Browse files
authored
Merge pull request #156 from A3S-Lab/fix/sdk-publish-token-fallback-20260723
fix(release): support SDK registry token fallback
2 parents 5328dea + be83db8 commit 79f3da4

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)