Skip to content

Commit 6b5b494

Browse files
committed
fix: disable android emulators snapshots
1 parent 31984d5 commit 6b5b494

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/10-take-screenshot-android.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
take-screenshot-android:
16-
runs-on: macos-latest
16+
runs-on: ubuntu-latest
1717
timeout-minutes: 15
1818
env:
1919
API_LEVEL: ${{ inputs.api_level }}
@@ -49,7 +49,7 @@ jobs:
4949
~/.android/adb*
5050
key: avd-${{ env.API_LEVEL }}
5151

52-
- name: create AVD and generate snapshot for caching
52+
- name: create AVD
5353
if: steps.avd-cache.outputs.cache-hit != 'true'
5454
uses: reactivecircus/android-emulator-runner@v2
5555
with:
@@ -58,7 +58,7 @@ jobs:
5858
target: google_apis
5959
cores: ${{ env.CORES }}
6060
force-avd-creation: false
61-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
61+
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -no-snapshot
6262
disable-animations: false
6363
script: avdmanager list device
6464

0 commit comments

Comments
 (0)