From c55308f08016a70b9cd63ce07e9b336f187d9e97 Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Tue, 21 Jan 2025 00:54:15 +0000 Subject: [PATCH] feat: add Gradle caching in CI workflows This commit updates the CI build and release workflows to enable Gradle caching. This change adds `cache: gradle` to the Java setup action. These changes apply to both `build.yaml` and `release.yaml` files. --- .github/workflows/build.yaml | 1 + .github/workflows/release.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 392b869..e82b904 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,6 +19,7 @@ jobs: with: java-version: '17' distribution: 'temurin' + cache: gradle - name: Setup Android SDK uses: android-actions/setup-android@v3 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f0eb943..042d3ad 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,6 +18,7 @@ jobs: with: java-version: '17' distribution: 'temurin' + cache: gradle - name: Setup Android SDK uses: android-actions/setup-android@v3