File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -381,6 +381,12 @@ jobs:
381381 steps :
382382 - name : " Check out code"
383383 uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
384+
385+ - name : " Install required SDK components"
386+ run : |
387+ yes | sdkmanager --licenses
388+ sdkmanager --install 'build-tools;34.0.0' 'platform-tools' 'system-images;android-34;default;arm64-v8a'
389+
384390 - name : " Setup AVD cache"
385391 uses : actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
386392 id : avd-cache
@@ -389,20 +395,20 @@ jobs:
389395 /Users/runner/.android/avd/*
390396 /Users/runner/.android/adb*
391397 /Users/runner/Library/Android/sdk/system-images/**/*
392- key : pixel_30_x86_64_default_3core_and_system_images
398+ key : pixel_34_arm64_default_3core_and_system_images
393399 - name : " Create AVD and generate snapshot for caching"
394400 if : steps.avd-cache.outputs.cache-hit != 'true'
395401 uses : reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # v2.30.1
396402 with :
397- api-level : 30
403+ api-level : 34
398404 target : default
399- arch : x86_64
405+ arch : arm64-v8a
400406 profile : pixel
401407 cores : 3
402408 ram-size : 4096M
403409 heap-size : 512M
404- avd-name : NATIVE_pixel_30
405- force-avd-creation : false
410+ avd-name : NATIVE_pixel_34
411+ force-avd-creation : true
406412 emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
407413 disable-animations : true
408414 script : echo "AVD created"
You can’t perform that action at this time.
0 commit comments