mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-12-16 10:50:30 +08:00
chore(deps): update actions/cache action to v5
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user