From b769a71d06207c957d32a86e909e1a1f659ad4b8 Mon Sep 17 00:00:00 2001 From: Victor Andreasson Date: Sat, 16 Mar 2024 14:57:30 +0100 Subject: [PATCH 1/2] Use gradle 7.6 To solve memory usage issues on 7.5. --- .github/workflows/test.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1ea1dd9e3..c6152e6cd 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,6 +24,8 @@ jobs: - name: Gradle cache uses: gradle/actions/setup-gradle@v3 + with: + gradle-version: 7.6 - name: AVD cache uses: actions/cache@v4 From bdc35bf50b196b98dc8f9bb2e26c885fae77b3eb Mon Sep 17 00:00:00 2001 From: Victor Andreasson Date: Sat, 16 Mar 2024 15:11:56 +0100 Subject: [PATCH 2/2] always cache AVD --- .github/workflows/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c6152e6cd..abd83ead3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,6 +35,7 @@ jobs: ~/.android/avd/* ~/.android/adb* key: avd-29 + save-always: true - name: create AVD and generate snapshot for caching if: steps.avd-cache.outputs.cache-hit != 'true'