diff --git a/.github/workflows/onPullRequest-multiPlatformTesting.yml b/.github/workflows/onPullRequest-multiPlatformTesting.yml index b6bedb52..ed55b015 100644 --- a/.github/workflows/onPullRequest-multiPlatformTesting.yml +++ b/.github/workflows/onPullRequest-multiPlatformTesting.yml @@ -116,7 +116,7 @@ jobs: # Cache .NET packages - name: Cache .NET packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.nuget/packages key: ${{ matrix.os }}-${{ matrix.arch }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/Directory.Packages.props') }} @@ -128,7 +128,7 @@ jobs: # Cache CMake build - name: Cache CMake build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | src/InfiniFrame.Native/build @@ -360,7 +360,7 @@ jobs: # Cache .NET packages - name: Cache .NET packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~\.nuget\packages key: ${{ matrix.os }}-${{ matrix.arch }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/Directory.Packages.props') }} @@ -374,7 +374,7 @@ jobs: # Cache CMake build - name: Cache CMake build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | src\InfiniFrame.Native\build @@ -490,7 +490,7 @@ jobs: # Cache .NET packages - name: Cache .NET packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~\.nuget\packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/Directory.Packages.props') }} @@ -504,7 +504,7 @@ jobs: # Cache CMake build - name: Cache CMake build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | src\InfiniFrame.Native\build @@ -516,7 +516,7 @@ jobs: # Cache WebView2 installer - name: Cache WebView2 installer id: cache-webview2 - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.TEMP }}\MicrosoftEdgeWebview2Setup.exe key: webview2-installer-${{ runner.os }} @@ -540,7 +540,7 @@ jobs: # Cache npm global packages - name: Cache npm global packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~\AppData\Roaming\npm key: ${{ runner.os }}-npm-global-${{ hashFiles('**/package*.json') }} @@ -573,7 +573,7 @@ jobs: - name: Cache Playwright browsers id: cache-playwright - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~\AppData\Local\ms-playwright key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }} @@ -700,7 +700,7 @@ jobs: # Cache .NET packages - name: Cache .NET packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.nuget/packages key: ${{ matrix.os }}-${{ matrix.arch }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/Directory.Packages.props') }} @@ -709,7 +709,7 @@ jobs: # Cache CMake build - name: Cache CMake build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | src/InfiniFrame.Native/build diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index 3a732434..9c304cd7 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -145,7 +145,7 @@ jobs: # Cache NuGet packages - name: Cache NuGet packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ startsWith(matrix.os, 'windows') && '~\.nuget\packages' || '~/.nuget/packages' }} key: ${{ matrix.os }}-${{ matrix.arch }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/Directory.Packages.props') }} @@ -157,7 +157,7 @@ jobs: # Cache CMake build - name: Cache CMake build - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | src/InfiniFrame.Native/build @@ -183,7 +183,7 @@ jobs: # Cache Homebrew packages (macOS only) - name: Cache Homebrew packages if: startsWith(matrix.os, 'macos') - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/Library/Caches/Homebrew @@ -239,7 +239,7 @@ jobs: # Cache .NET packages - name: Cache .NET packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/Directory.Packages.props') }}