diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index a75dd37..502d6c0 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -33,7 +33,7 @@ jobs: - uses: MetaMask/action-publish-release@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ./dist @@ -60,7 +60,7 @@ jobs: with: node-version-file: '.nvmrc' cache: 'yarn' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ./dist @@ -68,7 +68,7 @@ jobs: key: ${{ github.sha }} - name: Dry Run Publish # omit npm-token token to perform dry run publish - uses: MetaMask/action-npm-publish@v4 + uses: MetaMask/action-npm-publish@v5 with: slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }} subteam: S042S7RE4AE # @metamask-npm-publishers @@ -94,14 +94,14 @@ jobs: with: node-version-file: '.nvmrc' cache: 'yarn' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ./dist ./node_modules/.yarn-state.yml key: ${{ github.sha }} - name: Publish - uses: MetaMask/action-npm-publish@v2 + uses: MetaMask/action-npm-publish@v5 with: # This `NPM_TOKEN` needs to be manually set per-repository. # Look in the repository settings under "Environments", and set this token in the `npm-publish` environment.