From d07b6bd75b28465c06c17ca8bc088fe8876337c4 Mon Sep 17 00:00:00 2001 From: Ryan Harter Date: Mon, 29 Apr 2024 13:12:49 -0500 Subject: [PATCH] Reverts setup-gradle cache usage until approved. --- .github/workflows/publish.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ca9dd90..aef7829 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -112,8 +112,20 @@ jobs: - name: Gradle Wrapper Validation uses: gradle/wrapper-validation-action@v2 - - name: Gradle cache - uses: gradle/actions/setup-gradle@v3 + - uses: actions/cache@v3 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-${{ hashFiles('**/**.gradle.kts', '**/gradle/wrapper/gradle-wrapper.properties', '**/libs.versions.toml') }} + restore-keys: | + ${{ runner.os }}-gradle + + - name: Install JDK 11 + uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: 11 # Retrieve the cached emulator snapshot. - name: AVD cache