try to switch to another setup-android
Some checks failed
Build Android / Build APK (push) Failing after 4m24s

This commit is contained in:
Alexander Kacheryants 2024-07-11 22:29:12 +03:00
parent 93490b108f
commit 11d573d3b1

View File

@ -17,12 +17,14 @@ jobs:
java-version: '17'
cache: 'gradle'
# - name: Setup Android SDK
# uses: amyu/setup-android@v4
# with:
# sdk-version: |
# 30
# 34
- name: Setup Android SDK
uses: amyu/setup-android@v4
with:
sdk-version: |
30
34
uses: android-actions/setup-android@v3
- name: Accept license for Android SDK
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses || if [ $? -ne '141' ]; then exit $?; fi; #Captures SIGPIPE 141 error but still allow repeating "y" to accept all licenses