Skip to content

Commit deea4d2

Browse files
committed
build: update release job
1 parent 5edcc0f commit deea4d2

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -602,10 +602,8 @@ jobs:
602602
- name: Release
603603
env:
604604
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
605-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
606605
GH_RELEASE_REF: ${{ github.ref }}
607606
run: |
608-
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
609607
export DRY_RUN_RESULT_FILE_PATH="$(pwd)/semanticReleaseDryRunReleaseResult.json"
610608
611609
git apply --ignore-whitespace ./scripts/patches/@semantic-release+github+11.0.0.patch
@@ -638,13 +636,10 @@ jobs:
638636
- name: Release `create-node-llama-cpp` module
639637
if: steps.set-npm-url.outputs.npm-url != ''
640638
env:
641-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
642639
GH_RELEASE_REF: ${{ github.ref }}
643640
run: |
644641
cd packages/create-node-llama-cpp
645642
646-
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
647-
648643
if [ "$GH_RELEASE_REF" == "refs/heads/beta" ]; then
649644
npm publish --tag beta
650645
else

0 commit comments

Comments
 (0)