File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- name : Test
1+ name : Android Workflow
22
33on : [push, pull_request]
44
@@ -16,11 +16,11 @@ jobs:
1616 - name : Checkout code
1717 uses : actions/checkout@v3
1818
19- - name : Set up JDK 11
19+ - name : Set up JDK 17
2020 uses : actions/setup-java@v3
2121 with :
22- distribution : ' adopt '
23- java-version : ' 11 '
22+ distribution : ' temurin '
23+ java-version : ' 17 '
2424
2525 - name : Setup Android SDK
2626 uses : android-actions/setup-android@v2
3030 cd $ANDROID_HOME/cmdline-tools/latest/bin
3131 ./sdkmanager "platform-tools"
3232 ./sdkmanager "emulator"
33- ./sdkmanager "tools"
3433 ./sdkmanager "build-tools;${ANDROID_BUILD_TOOLS_VERSION}"
3534 ./sdkmanager "platforms;android-${TARGET_VERSION}"
3635 ./sdkmanager "system-images;android-30;google_apis;x86"
5453 echo "Starting emulator..."
5554 export PATH=$PATH:$ANDROID_HOME/emulator
5655 emulator -avd test -no-audio -no-window -no-boot-anim -no-metrics &
57- # Wait for the emulator to start up
56+ # Wait for emulator to fully boot
5857 sleep 120
5958
6059 - name : Export CLOUDINARY_URL
You can’t perform that action at this time.
0 commit comments