diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46473ac..01307d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: # CMake handles incremental builds natively; restoring build/ # cuts ~5 min off the cold MSVC pass when a PR touches only a # few files. Falls back to the most recent build on a hash miss. - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build key: build-${{ runner.os }}-${{ hashFiles('**/CMakeLists.txt', 'core/src/**/*.cpp', 'core/src/**/*.h', 'modules/**/*.cpp', 'modules/**/*.h', 'modules/**/*.cs', '.gitmodules', 'version.txt') }} @@ -77,7 +77,7 @@ jobs: build-${{ runner.os }}- - name: Cache NuGet packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.nuget/packages key: nuget-${{ runner.os }}-${{ hashFiles('modules/facetracking/src/host/**/*.csproj', 'modules/facetracking/src/host/**/packages.lock.json') }} @@ -85,7 +85,7 @@ jobs: nuget-${{ runner.os }}- - name: Cache NSIS install - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: 'C:\Program Files (x86)\NSIS' key: nsis-${{ runner.os }}-3.12 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74f0d60..6f71ea4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -103,7 +103,7 @@ jobs: # fallback lets a near-miss (different source hash) reuse the # most recent build state -- CMake then recompiles only what # changed. - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: build key: build-${{ runner.os }}-${{ hashFiles('**/CMakeLists.txt', 'core/src/**/*.cpp', 'core/src/**/*.h', 'modules/**/*.cpp', 'modules/**/*.h', 'modules/**/*.cs', '.gitmodules', 'version.txt') }} @@ -113,7 +113,7 @@ jobs: - name: Cache NuGet packages # FaceModuleHost's dotnet publish restores NuGet packages on every # cold run. Caching the user-level NuGet folder keeps them warm. - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.nuget/packages key: nuget-${{ runner.os }}-${{ hashFiles('modules/facetracking/src/host/**/*.csproj', 'modules/facetracking/src/host/**/packages.lock.json') }} @@ -123,7 +123,7 @@ jobs: - name: Cache NSIS install # Skips the ~30 s choco install on warm runs. Key bumped on NSIS # upgrades. - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: 'C:\Program Files (x86)\NSIS' key: nsis-${{ runner.os }}-3.12