mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #5917 from kralo/android-ci-lockfile
ci: android delete AVD lockfile when running from cached image
This commit is contained in:
commit
9bd531b0e3
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*
|
||||
~/__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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue