mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-10-04 00:02:04 +00:00
ci(mobile): keep the NDK install from failing on SIGPIPE (#1045)
This commit is contained in:
@@ -68,7 +68,10 @@ jobs:
|
||||
- name: Android NDK
|
||||
run: |
|
||||
set -euo pipefail
|
||||
yes | "$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" --install "ndk;$NDK_VERSION" > /dev/null
|
||||
# `yes` dies of SIGPIPE once sdkmanager stops reading, which
|
||||
# pipefail would take for a failure.
|
||||
(yes || true) | "$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" --install "ndk;$NDK_VERSION" > /dev/null
|
||||
test -d "$ANDROID_HOME/ndk/$NDK_VERSION"
|
||||
echo "NDK_HOME=$ANDROID_HOME/ndk/$NDK_VERSION" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Signing key
|
||||
|
||||
Reference in New Issue
Block a user