From 5c604cec4bedc9cd4cd906356cd917ff54732bd7 Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Mon, 13 Jan 2025 21:47:06 +0000 Subject: [PATCH] Configure `gradle-home-cache-strict-match` to `true` by default (#320) --- .github/actions/setup-gradle/action.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/setup-gradle/action.yaml b/.github/actions/setup-gradle/action.yaml index 5a525f1..ed9f560 100644 --- a/.github/actions/setup-gradle/action.yaml +++ b/.github/actions/setup-gradle/action.yaml @@ -9,6 +9,10 @@ inputs: description: When 'true', all caching is disabled. No entries will be written to or read from the cache. required: false default: false + gradle-home-cache-strict-match: + description: When 'true', the action will not attempt to restore the Gradle User Home entries from other Jobs. + required: false + default: true runs: using: composite @@ -18,3 +22,4 @@ runs: add-job-summary-as-pr-comment: on-failure cache-encryption-key: ${{ inputs.cache-encryption-key }} cache-disabled: ${{ inputs.cache-disabled }} + gradle-home-cache-strict-match: ${{ inputs.gradle-home-cache-strict-match }}