Compare commits

..

2 commits

Author SHA1 Message Date
Matyáš Caras
c3db0d2ed2
Added translation using Weblate (Slovak) 2024-07-17 20:20:34 +02:00
ba3b963d84
ci: don't blindly copypaste code
Some checks failed
/ build (push) Has been cancelled
2024-07-17 20:20:25 +02:00

View file

@ -20,11 +20,11 @@ jobs:
- name: Initialize AVD - name: Initialize AVD
run: | run: |
sdkmanager "platform-tools" "platforms;android-${{ vars.ANDROID_API }}" sdkmanager "platform-tools" "platforms;android-${{ vars.ANDROID_API }}"
sdkmanager --install "system-images;android-${apiLevel};${{ vars.ANDROID_TARGET }}${{ vars.ANDROID_ARCH }}" sdkmanager --install "system-images;android-${{ vars.ANDROID_API }};${{ vars.ANDROID_TARGET }};${{ vars.ANDROID_ARCH }}"
sdkmanager --update sdkmanager --update
echo "y" | sdkmanager --licenses echo "y" | sdkmanager --licenses
sdkmanager --list sdkmanager --list
echo "no" | avdmanager -v create avd --force --name "android_emulator" --package "system-images;android-${apiLevel};${target};${arch}" --tag "${target}" --sdcard 128M --device "${{ vars.ANDROID_DEVICE }}" echo "no" | avdmanager -v create avd --force --name "android_emulator" --package "system-images;android-${{ vars.ANDROID_API }};${{vars.ANDROID_TARGET}};${{ vars.ANDROID_ARCH }}" --tag "${{vars.ANRDOID_TARGET}}" --sdcard 128M --device "${{ vars.ANDROID_DEVICE }}"
emulator -avd "android_emulator" -no-audio -no-window -no-snapstorage -no-snapshot -gpu swiftshader_indirect -no-boot-anim -no-accel -wipe-data -skip-adb-auth & emulator -avd "android_emulator" -no-audio -no-window -no-snapstorage -no-snapshot -gpu swiftshader_indirect -no-boot-anim -no-accel -wipe-data -skip-adb-auth &
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82' adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82'
flutter doctor -v flutter doctor -v