From cc3079adc961aba7466507e7b7c8985d5b6a1d48 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:38:02 +0000 Subject: [PATCH] Update actions/cache action to v4 --- .github/actions/gradle-task/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/gradle-task/action.yml b/.github/actions/gradle-task/action.yml index 8a7cf4d..5f00109 100644 --- a/.github/actions/gradle-task/action.yml +++ b/.github/actions/gradle-task/action.yml @@ -47,7 +47,7 @@ runs: - name: restore cache for ${{inputs.write-cache-key}} id: restore-write-cache if: inputs.write-cache-key != 'null' - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: | ~/.gradle/caches/build-cache-1 @@ -59,7 +59,7 @@ runs: # Skipped if the restore-cache-key wasn't set, or if the write-cache-key restore had an exact match. - name: restore cache for ${{inputs.restore-cache-key}} if: inputs.restore-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true' - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: | ~/.gradle/caches/build-cache-1 @@ -86,7 +86,7 @@ runs: # Windows runners are welcome to *read* the cross-OS cache, but the directories get weird if # they try to write to it. - name: save the '${{inputs.write-cache-key}}' cache - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 id: save-write-cache-key if: inputs.write-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true' with: