diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 132fc6b3..a1fbfd28 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -130,7 +130,7 @@ jobs: # Restore xmake dependencies - name: Restore cached xmake dependencies id: restore-depcache - uses: actions/cache/restore@v5 + uses: actions/cache/restore@v6 with: path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages key: ${{ matrix.confs.plat }}-${{ matrix.confs.arch }}-${{ matrix.confs.mode }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }} @@ -169,7 +169,7 @@ jobs: # Save dependencies - name: Save cached xmake dependencies if: ${{ !steps.restore-depcache.outputs.cache-hit }} - uses: actions/cache/save@v5 + uses: actions/cache/save@v6 with: path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages key: ${{ steps.restore-depcache.outputs.cache-primary-key }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f93b3c05..2a3fa527 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -67,7 +67,7 @@ jobs: # Cache xmake dependencies - name: Retrieve cached xmake dependencies id: restore-depcache - uses: actions/cache/restore@v5 + uses: actions/cache/restore@v6 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 }} @@ -79,7 +79,7 @@ jobs: # Save dependencies - name: Save cached xmake dependencies if: ${{ !steps.restore-depcache.outputs.cache-hit }} - uses: actions/cache/save@v5 + uses: actions/cache/save@v6 with: path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages key: ${{ steps.restore-depcache.outputs.cache-primary-key }}