From d22e77002f2fd5e7be3a9dc5f8928a4b1dfee78d Mon Sep 17 00:00:00 2001 From: Ricki Hirner Date: Fri, 1 Mar 2024 19:05:32 +0100 Subject: [PATCH] Update AVD cache path --- .github/workflows/test-dev.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-dev.yml b/.github/workflows/test-dev.yml index f01bc1e..0cde4a5 100644 --- a/.github/workflows/test-dev.yml +++ b/.github/workflows/test-dev.yml @@ -44,13 +44,11 @@ jobs: - name: Cache AVD uses: actions/cache@v4 with: - path: | - ~/.android/avd - ~/.android/adb* + path: ~/.avd key: avd-${{ hashFiles('lib/build.gradle.kts') }} # gradle-managed devices are defined there - name: Run device tests - run: ./gradlew --no-daemon virtualCheck + run: ANDROID_AVD_HOME=~/.avd ./gradlew --no-daemon virtualCheck - name: Archive results uses: actions/upload-artifact@v4