Skip to content

Commit

Permalink
[ci] Fix prerelease script npm authtoken
Browse files Browse the repository at this point in the history
Try again to specify the npm token so the publish script can succeed.

ghstack-source-id: cd6e01b2ea9b320d02975849703269f17de45bd4
Pull Request resolved: #30503
  • Loading branch information
poteto committed Jul 29, 2024
1 parent 4e482f4 commit 93b12b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/runtime_prereleases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ on:

env:
TZ: /usr/share/zoneinfo/America/Los_Angeles
GH_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

jobs:
publish_prerelease:
Expand All @@ -41,6 +43,3 @@ jobs:
scripts/release/prepare-release-from-ci.js --skipTests -r ${{ inputs.release_channel }} --commit=${{ inputs.commit_sha }}
cp ./scripts/release/ci-npmrc ~/.npmrc
scripts/release/publish.js --ci --tags ${{ inputs.dist_tag }}
env:
GH_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 93b12b8

Please sign in to comment.