From 4540472b3f00515d186a72b449d69c7550078c49 Mon Sep 17 00:00:00 2001 From: "dependencyupdates[bot]" <218638057+dependencyupdates[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2026 11:49:58 +0000 Subject: [PATCH] Update actions/cache action to v6 --- .github/workflows/build-samples-and-snippets.yml | 4 ++-- .github/workflows/copilot-setup-steps.yml | 2 +- .github/workflows/publish-samples.yml | 2 +- .github/workflows/validate-master.yml | 2 +- .github/workflows/validate-pull-requests.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-samples-and-snippets.yml b/.github/workflows/build-samples-and-snippets.yml index 68dfe76bf3a..35cb3fed721 100644 --- a/.github/workflows/build-samples-and-snippets.yml +++ b/.github/workflows/build-samples-and-snippets.yml @@ -19,7 +19,7 @@ jobs: global-json-file: global.json - name: Restore NuGet Cache id: nuget-cache-restore - uses: actions/cache/restore@v5 + uses: actions/cache/restore@v6 with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} @@ -30,7 +30,7 @@ jobs: - name: Save NuGet Cache id: nuget-cache-save if: always() && steps.nuget-cache-restore.outputs.cache-hit != 'true' - uses: actions/cache/save@v5 + uses: actions/cache/save@v6 with: path: ~/.nuget/packages key: ${{ steps.nuget-cache-restore.outputs.cache-primary-key }} diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 377d53c6fe2..01a7977cee4 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -34,7 +34,7 @@ jobs: - name: Cache docstool id: cache-docstool - uses: actions/cache@v5.1.0 + uses: actions/cache@v6.1.0 with: path: | ~/.dotnet/tools/docstool diff --git a/.github/workflows/publish-samples.yml b/.github/workflows/publish-samples.yml index 4799aca513f..ad29a0180fc 100644 --- a/.github/workflows/publish-samples.yml +++ b/.github/workflows/publish-samples.yml @@ -29,7 +29,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@v5.1.0 + uses: actions/cache@v6.1.0 with: path: | ~/.dotnet/tools/docstool diff --git a/.github/workflows/validate-master.yml b/.github/workflows/validate-master.yml index 477d931e7f6..d7400745c05 100644 --- a/.github/workflows/validate-master.yml +++ b/.github/workflows/validate-master.yml @@ -28,7 +28,7 @@ jobs: echo "DOCSTOOL_VERSION=$(curl --connect-timeout 5 --max-time 15 --silent --show-error https://s3.amazonaws.com/particular.downloads/Particular.DocsTool/version.json)" >> $GITHUB_ENV - name: Cache docstool id: cache-docstool - uses: actions/cache@v5.1.0 + uses: actions/cache@v6.1.0 with: path: | ~/.dotnet/tools/docstool diff --git a/.github/workflows/validate-pull-requests.yml b/.github/workflows/validate-pull-requests.yml index 8f927d814a9..822b0b37bc0 100644 --- a/.github/workflows/validate-pull-requests.yml +++ b/.github/workflows/validate-pull-requests.yml @@ -23,7 +23,7 @@ jobs: echo "DOCSTOOL_VERSION=$(curl --connect-timeout 5 --max-time 15 --silent --show-error https://s3.amazonaws.com/particular.downloads/Particular.DocsTool/version.json)" >> $GITHUB_ENV - name: Cache docstool id: cache-docstool - uses: actions/cache@v5.1.0 + uses: actions/cache@v6.1.0 with: path: | ~/.dotnet/tools/docstool