diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44858d157a8..ec56fd84f3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,8 +35,10 @@ jobs: run: pnpm install - name: Publish Packages env: - "npm_config_//registry.npmjs.org/:_authToken": ${{ secrets.NPM_TOKEN }} - run: pnpm release + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: | + pnpm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}" + pnpm release - name: Copy Artifacts run: pnpm run copy-artifacts - name: Generate release description