chore(deps): update actions/cache action to v5

This commit is contained in:
renovate[bot]
2025-12-13 17:35:48 +00:00
committed by GitHub
parent faab20ac2f
commit 69839b5a3a
2 changed files with 3 additions and 3 deletions

View File

@@ -103,7 +103,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🗄️ 缓存Docker层
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-IMAGE_NAME-${{ github.sha }}

View File

@@ -208,7 +208,7 @@ runs:
echo "pnpmStoreDir=$(pnpm store path)" >> $GITHUB_OUTPUT
- id: cache-pnpm-restore
uses: actions/cache/restore@v4 # https://github.com/actions/cache/blob/main/restore/action.yml
uses: actions/cache/restore@v5 # https://github.com/actions/cache/blob/main/restore/action.yml
if: steps.prepare.outputs.pnpmLockExists == 'true'
with:
path: ${{ steps.pnpm-store-dir.outputs.pnpmStoreDir }}
@@ -252,7 +252,7 @@ runs:
- id: cache-pnpm-save
if: always() && steps.prepare.outputs.pnpmLockExists == 'true' && steps.cache-pnpm-restore.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: ${{ steps.pnpm-store-dir.outputs.pnpmStoreDir }}
key: ${{ steps.cache-pnpm-restore.outputs.cache-primary-key }}