diff --git a/.github/workflows/build-samples-and-snippets.yml b/.github/workflows/build-samples-and-snippets.yml index bff32bf2f21..765b82f040b 100644 --- a/.github/workflows/build-samples-and-snippets.yml +++ b/.github/workflows/build-samples-and-snippets.yml @@ -21,7 +21,7 @@ jobs: uses: microsoft/setup-msbuild@v2 - name: Restore NuGet Cache id: nuget-cache-restore - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} @@ -32,7 +32,7 @@ jobs: - name: Save NuGet Cache id: nuget-cache-save if: always() && steps.nuget-cache-restore.outputs.cache-hit != 'true' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: ~/.nuget/packages key: ${{ steps.nuget-cache-restore.outputs.cache-primary-key }} diff --git a/.github/workflows/validate-pull-requests.yml b/.github/workflows/validate-pull-requests.yml index fb4a698e041..dd96521710d 100644 --- a/.github/workflows/validate-pull-requests.yml +++ b/.github/workflows/validate-pull-requests.yml @@ -20,7 +20,7 @@ jobs: curl --connect-timeout 5 --max-time 15 --silent --show-error https://s3.amazonaws.com/particular.downloads/Particular.DocsTool/version.json >> docstool-version.json - name: Cache docstool id: cache-docstool - uses: actions/cache@v4.3.0 + uses: actions/cache@v5.0.1 with: path: | ~/.dotnet/tools/docstool diff --git a/.github/workflows/verify-master.yml b/.github/workflows/verify-master.yml index d23236b7609..e66d61c9e91 100644 --- a/.github/workflows/verify-master.yml +++ b/.github/workflows/verify-master.yml @@ -23,7 +23,7 @@ jobs: curl --connect-timeout 5 --max-time 15 --silent --show-error https://f.feedz.io/particular-software/packages/nuget/v3/packages/particular.docstool/index.json >> docstool-versions.json - name: Cache docstool id: cache-docstool - uses: actions/cache@v4.3.0 + uses: actions/cache@v5.0.1 with: path: | ~/.dotnet/tools/docstool