Apache Lucene open-source search software
Add github action cache step to cache gradle-wrapper.jar #14683
Dawid Weiss9d7c5b635525
diff --git a/.github/actions/prepare-for-build/action.yml b/.github/actions/prepare-for-build/action.ymlindex e2c46c35e10..c369a67f7ac 100644--- a/.github/actions/prepare-for-build/action.yml+++ b/.github/actions/prepare-for-build/action.yml@@ -25,7 +25,13 @@ runs:java-version: ${{ inputs.java-version }}java-package: jdk- # This includes "smart" caching of the wrapper and dependencies.+ - name: Cache gradle-wrapper.jar+ uses: actions/cache@v4+ with:+ path: gradle/wrapper/gradle-wrapper.jar+ key: gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.jar.sha256') }}++ # This includes "smart" caching of gradle dependencies.- name: Set up Gradleuses: gradle/actions/setup-gradle@v4with: