Skip to content

Commit

Permalink
Use SDK 28 and avoid having instrumentation failing with timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-martos authored Feb 14, 2024
1 parent 887b515 commit cb78370
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,14 @@ jobs:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-29
key: avd-28
- name: Create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
# Use API 29 https://github.com/ReactiveCircus/android-emulator-runner/issues/222
api-level: 29
# Use API 28 https://github.com/ReactiveCircus/android-emulator-runner/issues/373
api-level: 28
arch: x86_64
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
Expand All @@ -111,7 +112,8 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
# Use API 29 https://github.com/ReactiveCircus/android-emulator-runner/issues/222
api-level: 29
# Use API 28 https://github.com/ReactiveCircus/android-emulator-runner/issues/373
api-level: 28
arch: x86_64
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
Expand Down

0 comments on commit cb78370

Please sign in to comment.