mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
ci: android delete AVD lockfile when running from cached image
This commit is contained in:
parent
a5e611eb06
commit
9e78b8b188
1 changed files with 6 additions and 0 deletions
6
.github/workflows/android.yml
vendored
6
.github/workflows/android.yml
vendored
|
@ -42,6 +42,12 @@ jobs:
|
||||||
~/.android/adb*
|
~/.android/adb*
|
||||||
~/__rustc_hash__
|
~/__rustc_hash__
|
||||||
key: avd-${{ matrix.api-level }}-${{ matrix.arch }}+termux-${{ env.TERMUX }}+nextest+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
|
- name: Create and cache emulator image
|
||||||
if: steps.avd-cache.outputs.cache-hit != 'true'
|
if: steps.avd-cache.outputs.cache-hit != 'true'
|
||||||
uses: reactivecircus/android-emulator-runner@v2
|
uses: reactivecircus/android-emulator-runner@v2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue