diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 86b5a89e8..c3f777081 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -42,6 +42,12 @@ jobs: ~/.android/adb* ~/__rustc_hash__ key: avd-${{ matrix.api-level }}-${{ matrix.arch }}+termux-${{ env.TERMUX }}+nextest+rustc-hash + - name: Delete AVD Lockfile when run from cache + if: steps.avd-cache.outputs.cache-hit == 'true' + run: | + rm -f \ + ~/.android/avd/*.avd/*.lock \ + ~/.android/avd/*/*.lock - name: Create and cache emulator image if: steps.avd-cache.outputs.cache-hit != 'true' uses: reactivecircus/android-emulator-runner@v2