diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fc7acf0..e71cd3c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -64,7 +64,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Setup node uses: actions/setup-node@v4 @@ -74,7 +74,7 @@ jobs: - run: npm install -g npm@latest - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: yarn-cache with: path: | @@ -91,6 +91,8 @@ jobs: run: | yarn build yarn publish-version ${{ needs.release.outputs.version }} + env: + NODE_AUTH_TOKEN: '' - name: Git reset (package.json files changed) run: |