CI: Update actions/cache to @v5

This commit is contained in:
Jelle Raaijmakers 2026-06-19 09:30:02 +02:00 committed by Jelle Raaijmakers
parent e2e2806d00
commit fe33a2f66e
4 changed files with 6 additions and 6 deletions

View file

@ -40,7 +40,7 @@ runs:
echo "timestamp=$(date -u "+%Y%m%d%H%M_%S")" >> "$GITHUB_OUTPUT"
- name: 'Compiler Cache'
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: 'ccache'
with:
path: ${{ inputs.ccache_path }}
@ -80,7 +80,7 @@ runs:
ccache -z
- name: 'Restore vcpkg cache'
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
id: 'vcpkg'
with:
path: ${{ inputs.vcpkg_cache_path }}

View file

@ -30,7 +30,7 @@ runs:
ccache --evict-older-than=1d
- name: 'Compiler Cache'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: ${{ inputs.ccache_path }}
key: ${{ inputs.ccache_primary_key }}
@ -43,7 +43,7 @@ runs:
ccache -s
- name: 'vcpkg binary cache'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: ${{ inputs.vcpkg_cache_path }}
key: ${{ inputs.vcpkg_cache_primary_key }}

View file

@ -140,7 +140,7 @@ runs:
- name: 'Cache wasm-tools'
id: 'wasm-tools-cache'
if: ${{ inputs.type == 'build' && inputs.os != 'Linux' }}
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ github.workspace }}/${{ steps.wasm-tools.outputs.name }}
key: ${{ steps.wasm-tools.outputs.name }}

View file

@ -119,7 +119,7 @@ jobs:
- name: Cache the WebAssembly spec test suite
if: ${{ inputs.os_name != 'Windows' }}
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ github.workspace }}/caches/WasmSpecTests
key: wasm-spec-test-suite | ${{ hashFiles('Meta/CMake/wasm_spec_tests.cmake') }}