Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [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/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
b97da658a8
commit
e9c3fe270a
|
|
@ -78,7 +78,7 @@ jobs:
|
|||
# Cache xmake dependencies
|
||||
- name: Restore cached xmake dependencies
|
||||
id: restore-depcache
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: ${{ matrix.config.name}}-${{ matrix.config.arch }}-coverage-${{ steps.dephash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
|
||||
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
# Save dependencies
|
||||
- name: Save cached xmake dependencies
|
||||
if: ${{ !steps.restore-depcache.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: ${{ steps.restore-depcache.outputs.cache-primary-key }}
|
||||
|
|
@ -98,7 +98,7 @@ jobs:
|
|||
# Cache assets downloading
|
||||
- name: Restore cached assets
|
||||
id: restore-assets
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: assets
|
||||
key: assets-${{ hashFiles('assets/examples_version.txt', 'assets/unittests_version.txt') }}
|
||||
|
|
@ -109,7 +109,7 @@ jobs:
|
|||
|
||||
- name: Save downloaded assets
|
||||
if: ${{ !steps.restore-assets.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: assets
|
||||
key: ${{ steps.restore-assets.outputs.cache-primary-key }}
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ jobs:
|
|||
# Cache xmake dependencies
|
||||
- name: Restore cached xmake dependencies
|
||||
id: restore-depcache
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: Linux-${{ matrix.arch }}-${{ matrix.confs.mode }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
|
||||
|
|
@ -82,7 +82,7 @@ jobs:
|
|||
# Save dependencies
|
||||
- name: Save cached xmake dependencies
|
||||
if: ${{ !steps.restore-depcache.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: ${{ steps.restore-depcache.outputs.cache-primary-key }}
|
||||
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
# Cache assets downloading
|
||||
- name: Restore cached assets
|
||||
id: restore-assets
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: assets
|
||||
key: assets-${{ hashFiles('assets/examples_version.txt', 'assets/unittests_version.txt') }}
|
||||
|
|
@ -101,7 +101,7 @@ jobs:
|
|||
|
||||
- name: Save downloaded assets
|
||||
if: ${{ !steps.restore-assets.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: assets
|
||||
key: ${{ steps.restore-assets.outputs.cache-primary-key }}
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
# Cache xmake dependencies
|
||||
- name: Restore cached xmake dependencies
|
||||
id: restore-depcache
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: macOS-${{ matrix.arch }}-${{ matrix.confs.mode }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
|
||||
|
|
@ -76,7 +76,7 @@ jobs:
|
|||
# Save dependencies
|
||||
- name: Save cached xmake dependencies
|
||||
if: ${{ !steps.restore-depcache.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: ${{ steps.restore-depcache.outputs.cache-primary-key }}
|
||||
|
|
@ -84,7 +84,7 @@ jobs:
|
|||
# Cache assets downloading
|
||||
- name: Restore cached assets
|
||||
id: restore-assets
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: assets
|
||||
key: assets-${{ hashFiles('assets/examples_version.txt', 'assets/unittests_version.txt') }}
|
||||
|
|
@ -95,7 +95,7 @@ jobs:
|
|||
|
||||
- name: Save downloaded assets
|
||||
if: ${{ !steps.restore-assets.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: assets
|
||||
key: ${{ steps.restore-assets.outputs.cache-primary-key }}
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
# Cache xmake dependencies
|
||||
- name: Restore cached xmake dependencies
|
||||
id: restore-depcache
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: MinGW-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
|
||||
|
|
@ -76,7 +76,7 @@ jobs:
|
|||
# Save dependencies
|
||||
- name: Save cached xmake dependencies
|
||||
if: ${{ !steps.restore-depcache.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: ${{ steps.restore-depcache.outputs.cache-primary-key }}
|
||||
|
|
@ -84,7 +84,7 @@ jobs:
|
|||
# Cache assets downloading
|
||||
- name: Restore cached assets
|
||||
id: restore-assets
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: assets
|
||||
key: assets-${{ hashFiles('assets/examples_version.txt', 'assets/unittests_version.txt') }}
|
||||
|
|
@ -95,7 +95,7 @@ jobs:
|
|||
|
||||
- name: Save downloaded assets
|
||||
if: ${{ !steps.restore-assets.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: assets
|
||||
key: ${{ steps.restore-assets.outputs.cache-primary-key }}
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ jobs:
|
|||
# Cache xmake dependencies
|
||||
- name: Restore cached xmake dependencies
|
||||
id: restore-depcache
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: Wasm-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
|
||||
|
|
@ -77,7 +77,7 @@ jobs:
|
|||
# Save dependencies
|
||||
- name: Save cached xmake dependencies
|
||||
if: ${{ !steps.restore-depcache.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: ${{ steps.restore-depcache.outputs.cache-primary-key }}
|
||||
|
|
@ -85,7 +85,7 @@ jobs:
|
|||
# Cache assets downloading
|
||||
- name: Restore cached assets
|
||||
id: restore-assets
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: assets
|
||||
key: assets-${{ hashFiles('assets/examples_version.txt', 'assets/unittests_version.txt') }}
|
||||
|
|
@ -96,7 +96,7 @@ jobs:
|
|||
|
||||
- name: Save downloaded assets
|
||||
if: ${{ !steps.restore-assets.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: assets
|
||||
key: ${{ steps.restore-assets.outputs.cache-primary-key }}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
# Cache xmake dependencies
|
||||
- name: Restore cached xmake dependencies
|
||||
id: restore-depcache
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}\.xmake\packages
|
||||
key: MSVC-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
|
||||
|
|
@ -71,7 +71,7 @@ jobs:
|
|||
# Save dependencies
|
||||
- name: Save cached xmake dependencies
|
||||
if: ${{ !steps.restore-depcache.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||
key: ${{ steps.restore-depcache.outputs.cache-primary-key }}
|
||||
|
|
@ -79,7 +79,7 @@ jobs:
|
|||
# Cache assets downloading
|
||||
- name: Restore cached assets
|
||||
id: restore-assets
|
||||
uses: actions/cache/restore@v3
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: assets
|
||||
key: assets-${{ hashFiles('assets/examples_version.txt', 'assets/unittests_version.txt') }}
|
||||
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
|
||||
- name: Save downloaded assets
|
||||
if: ${{ !steps.restore-assets.outputs.cache-hit }}
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: assets
|
||||
key: ${{ steps.restore-assets.outputs.cache-primary-key }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue