From b7491e5e710ff2649ea45032e5b96e8f85a2dc58 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Fri, 8 Sep 2023 21:09:07 +0200 Subject: [PATCH] Do not cache AVD (#6626) This causes tons of hard-to-reproduce bugs on CI. --- .github/workflows/checks.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 57425126a..4b7c49333 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -127,25 +127,6 @@ jobs: key: gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - name: Build with Gradle run: ./gradlew assemblePlayDebugAndroidTest - - name: Cache AVD - uses: actions/cache@v3 - id: avd-cache - with: - path: | - ~/.android/avd/* - ~/.android/adb* - key: avd-${{ hashFiles('.github/workflows/*') }} - - name: Create AVD and generate snapshot for caching - if: steps.avd-cache.outputs.cache-hit != 'true' - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: ${{ env.api-level }} - target: aosp_atd - channel: canary - force-avd-creation: false - emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none - disable-animations: true - script: echo "Generated AVD snapshot for caching." - name: Android Emulator test uses: reactivecircus/android-emulator-runner@v2 with: