diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ac82758ee..560cd3556 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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 }} diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 04fa083c1..c08fce867 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -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 }} diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index 707901061..0b1294140 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -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 }} diff --git a/.github/workflows/msys2-build.yml b/.github/workflows/msys2-build.yml index efb3da08b..847a283cc 100644 --- a/.github/workflows/msys2-build.yml +++ b/.github/workflows/msys2-build.yml @@ -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 }} diff --git a/.github/workflows/wasm-build.yml b/.github/workflows/wasm-build.yml index b3079da22..203f24297 100644 --- a/.github/workflows/wasm-build.yml +++ b/.github/workflows/wasm-build.yml @@ -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 }} diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index ed04c1ddc..27c3b1779 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -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 }}