Skip to content

Commit 1a1323c

Browse files
committed
CI: clear cached AVD and adb files before starting emulator
1 parent 668331b commit 1a1323c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/android.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ jobs:
8181
~/.android/avd/*
8282
~/.android/adb*
8383
key: avd-${{ runner.os }}
84+
- name: Remove cached AVD
85+
run: |
86+
rm -rf ~/.android/avd
87+
rm -f ~/.android/adb*
8488
- name: Start AVD then run E2E tests
8589
uses: reactivecircus/android-emulator-runner@v2
8690
with:

0 commit comments

Comments
 (0)