chore(deps): bump actions/cache from 4 to 5 (#56197)

Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2025-12-12 22:18:12 +08:00
committed by GitHub
parent ef91a44893
commit 1843baba69
3 changed files with 12 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ jobs:
- uses: utooland/setup-utoo@v1
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: ~tmpProj/yarn.lock
key: primes-${{ runner.os }}-${{ github.run_id }}
@@ -40,7 +40,7 @@ jobs:
- name: Download success lock file as `success.lock`
if: ${{ failure() }}
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: ~tmpProj/yarn.lock
key: primes-${{ runner.os }}-${{ github.run_id }}

View File

@@ -96,7 +96,7 @@ jobs:
- run: ut
- name: restore cache from dist
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: dist
key: dist-${{ github.sha }}
@@ -146,13 +146,13 @@ jobs:
- run: ut
- name: cache lib
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: lib
key: lib-${{ github.sha }}
- name: cache es
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: es
key: es-${{ github.sha }}
@@ -161,7 +161,7 @@ jobs:
run: ut compile
- name: cache dist
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: dist
key: dist-${{ github.sha }}
@@ -213,7 +213,7 @@ jobs:
- name: restore cache from ${{ matrix.module }}
# lib only run in master branch not in pull request
if: ${{ github.event_name != 'pull_request' || matrix.module != 'lib' }}
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ matrix.module }}
key: ${{ matrix.module }}-${{ github.sha }}

View File

@@ -99,7 +99,7 @@ jobs:
- run: ut
- name: restore cache from dist
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: dist
key: dist-${{ github.sha }}
@@ -151,13 +151,13 @@ jobs:
- run: ut
- name: cache lib
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: lib
key: lib-${{ github.sha }}
- name: cache es
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: es
key: es-${{ github.sha }}
@@ -166,7 +166,7 @@ jobs:
run: ut compile
- name: cache dist
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: dist
key: dist-${{ github.sha }}
@@ -218,7 +218,7 @@ jobs:
- name: restore cache from ${{ matrix.module }}
# lib only run in master branch not in pull request
if: ${{ github.event_name != 'pull_request' || matrix.module != 'lib' }}
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ matrix.module }}
key: ${{ matrix.module }}-${{ github.sha }}