ci: install API 36 without a SIGPIPE from yes
CI / build (push) Successful in 2m2s

Also add platform 36 to the CI image for the next rebuild.
This commit is contained in:
TapTap committed 2026-11-15 18:40:44 +00:00
1 parent 9b105b3925
commit 67414b5986
2 files changed
+6 -4

No files matched your search

+4 -2
View File
@@ -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