This commit is contained in:
parent
11d573d3b1
commit
c4c9bc73d0
@ -17,14 +17,16 @@ 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: android-actions/setup-android@v3
|
||||
uses: amyu/setup-android@v4
|
||||
with:
|
||||
sdk-version: |
|
||||
30
|
||||
34
|
||||
build-tools-version: 33.0.3
|
||||
|
||||
- name: Install android Build Tools
|
||||
run: $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "build-tools;30.0.3"
|
||||
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user