File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 path : $ANDROID_HOME/system-images/
5555 key : ${{ runner.os }}-build-system-images-${{ env.SYSTEM_IMAGES }}
5656 - name : SKDs - download required images
57- if : ${{ steps.cache-sdd -img.outputs.cache-hit != 'true' }}
57+ if : ${{ steps.cache-sdk -img.outputs.cache-hit != 'true' }}
5858 run : $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "system-images;android-34;google_apis;x86_64"
5959 - name : Cache AVD
6060 id : cache-avd
6969 if : ${{ steps.cache-avd.outputs.cache-hit != 'true' }}
7070 run : |
7171 echo "AVD config path: $HOME/.android/avd/${{ env.AVD_NAME }}.avd/config.ini"
72- sed -i '' ' s/.*hw\.lcd\.density.*/hw\.lcd\.density = 480/g' $HOME/.android/avd/${{ env.AVD_NAME }}.avd/config.ini
73- sed -i '' ' s/.*hw\.lcd\.width.*/hw\.lcd\.width = 1344/g' $HOME/.android/avd/${{ env.AVD_NAME }}.avd/config.ini
74- sed -i '' ' s/.*hw\.lcd\.height.*/hw\.lcd\.height = 2992/g' $HOME/.android/avd/${{ env.AVD_NAME }}.avd/config.ini
72+ sed -i 's/.*hw\.lcd\.density.*/hw\.lcd\.density = 480/g' $HOME/.android/avd/${{ env.AVD_NAME }}.avd/config.ini
73+ sed -i 's/.*hw\.lcd\.width.*/hw\.lcd\.width = 1344/g' $HOME/.android/avd/${{ env.AVD_NAME }}.avd/config.ini
74+ sed -i 's/.*hw\.lcd\.height.*/hw\.lcd\.height = 2992/g' $HOME/.android/avd/${{ env.AVD_NAME }}.avd/config.ini
7575 - name : Emulator - Boot
7676 run : $ANDROID_HOME/emulator/emulator -memory 4096 -avd ${{ env.AVD_NAME }} -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim &
7777
You can’t perform that action at this time.
0 commit comments