Also add platform 36 to the CI image for the next rebuild.
This commit is contained in:
1 parent
9b105b3925
commit
67414b5986
2 files changed
+6
-4
No files matched your search
@@ -31,8 +31,10 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [ ! -d "$ANDROID_HOME/platforms/android-36" ]; then
|
||||
yes | "$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" \
|
||||
"platforms;android-36" "build-tools;36.0.0" >/dev/null
|
||||
# stdin is already covered by the image's accepted licenses; do not
|
||||
# pipe `yes` here, it dies with SIGPIPE and fails under pipefail.
|
||||
"$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" --install \
|
||||
"platforms;android-36" "build-tools;36.0.0" </dev/null >/dev/null
|
||||
fi
|
||||
|
||||
- name: Test and build
|
||||
|
||||
Reference in new issue
Block a user