From 784382cfb16289e11a5518f8802ec77bd62d904b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 10:58:27 +0800 Subject: [PATCH] chore: bump up actions/cache action to v5 (#14549) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/cache](https://redirect.github.com/actions/cache) | action | major | `v4` → `v5` | --- ### Release Notes
actions/cache (actions/cache) ### [`v5`](https://redirect.github.com/actions/cache/compare/v4...v5) [Compare Source](https://redirect.github.com/actions/cache/compare/v4...v5)
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/actions/setup-node/action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index 78ce827954..efb3d5f688 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -93,7 +93,7 @@ runs: run: node -e "const p = $(yarn config cacheFolder --json).effective; console.log('yarn_global_cache=' + p)" >> $GITHUB_OUTPUT - name: Cache non-full yarn cache on Linux - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ inputs.full-cache != 'true' && runner.os == 'Linux' }} with: path: | @@ -105,7 +105,7 @@ runs: # and the decompression performance on Windows is very terrible # so we reduce the number of cached files on non-Linux systems by remove node_modules from cache path. - name: Cache non-full yarn cache on non-Linux - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ inputs.full-cache != 'true' && runner.os != 'Linux' }} with: path: | @@ -113,7 +113,7 @@ runs: key: node_modules-cache-${{ github.job }}-${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}-${{ steps.system-info.outputs.version }} - name: Cache full yarn cache on Linux - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ inputs.full-cache == 'true' && runner.os == 'Linux' }} with: path: | @@ -122,7 +122,7 @@ runs: key: node_modules-cache-full-${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}-${{ steps.system-info.outputs.version }} - name: Cache full yarn cache on non-Linux - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ inputs.full-cache == 'true' && runner.os != 'Linux' }} with: path: | @@ -154,7 +154,7 @@ runs: # Note: Playwright's cache directory is hard coded because that's what it # says to do in the docs. There doesn't appear to be a command that prints # it out for us. - - uses: actions/cache@v4 + - uses: actions/cache@v5 id: playwright-cache if: ${{ inputs.playwright-install == 'true' }} with: @@ -189,7 +189,7 @@ runs: run: | echo "version=$(yarn why --json electron | grep -h 'workspace:.' | jq --raw-output '.children[].locator' | sed -e 's/@playwright\/test@.*://' | head -n 1)" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 + - uses: actions/cache@v5 id: electron-cache if: ${{ inputs.electron-install == 'true' }} with: