Skip to content

Commit 3406b21

Browse files
Update unit-and-instrumented-tests-action.yml
1 parent 7087008 commit 3406b21

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/unit-and-instrumented-tests-action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ jobs:
4343
java-version: 8
4444
- name: Create Android emulator
4545
run: |
46-
echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --licenses
46+
echo "Yes licenses"
47+
Yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
48+
echo "sdkmanager version"
4749
echo $ANDROID_HOME/tools/bin/sdkmanager --version
48-
echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --install "system-images;android-36;google_apis_playstore;x86_64"
49-
echo "no" | $ANDROID_HOME/tools/bin/avdmanager list device
50+
echo "Yes install image"
51+
Yes | $ANDROID_HOME/tools/bin/sdkmanager --install "system-images;android-36;google_apis_playstore;x86_64"
5052
echo "no" | $ANDROID_HOME/tools/bin/avdmanager --verbose create avd --force --name test --package "system-images;android-36;google_apis_playstore;x86_64"
5153
# boots and waits for the emulator to be ready
5254
- name: Launch Emulator

0 commit comments

Comments
 (0)