Skip to content

Commit f2d6176

Browse files
committed
Try setup-skip action
1 parent e57ff10 commit f2d6176

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,16 @@ jobs:
7979
echo "Emulator started"
8080

8181
- name: SDKs - accept licenses
82-
run: yes Y | sdkmanager --licenses
82+
run: yes y | sdkmanager --licenses
8383

8484
- name: SKDs - download required images
85-
run: yes no | sdkmanager "system-images;android-${ANDROID_API};default;x86_64"
85+
run: yes no | sdkmanager "system-images;android-${ANDROID_API};${ANDROID_TARGET};x86_64"
86+
87+
- name: SKDs - setup emulator
88+
run: yes no | sdkmanager --channel=3 emulator
8689

8790
- name: Emulator - Create
88-
run: yes no | avdmanager create avd -n "${ANDROID_EMULATOR_NAME}" --device 'Nexus 5X' --package "system-images;android-${ANDROID_API};default;x86_64" --sdcard 512M
91+
run: yes no | avdmanager create avd -n "${ANDROID_EMULATOR_NAME}" --device 'Nexus 5X' --package "system-images;android-${ANDROID_API};${ANDROID_TARGET};x86_64" --sdcard 512M
8992

9093
- name: Emulator - List AVDs
9194
run: emulator -list-avds

0 commit comments

Comments
 (0)