?
Some checks failed
Build Android / Build APK (push) Failing after 6m53s

This commit is contained in:
Alexander Kacheryants 2024-07-15 14:56:08 +03:00
parent 4f4bd3290b
commit 8a22dedc09

View File

@ -13,12 +13,12 @@ jobs:
- name: Set Up JDK - name: Set Up JDK
uses: actions/setup-java@v3 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'zulu'
java-version: '17' java-version: '17'
cache: 'gradle' cache: 'gradle'
- name: Setup Android SDK - name: Setup Android SDK
uses: android-actions/setup-android@v2.0.10 uses: android-actions/setup-android@v3.2.1
- name: Accept license for Android SDK - 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 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