From 574c7d4127abe4f59a19e372a2c660d08209af22 Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Mon, 13 Jan 2025 21:10:24 +0000 Subject: [PATCH] Configure `gradle-home-cache-strict-match` to `true` by default --- .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 }}