Skip to content

Commit 2fe9a61

Browse files
Android SDK build: install unzip package (#174)
On some distributions (like Debian Bookworm), unzip is not installed in containers by default. Ensure we install it when needed.
1 parent 1bc3591 commit 2fe9a61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/scripts/install-and-build-with-sdk.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ install_android_sdk() {
581581
# permit the "--android-ndk" flag to override the default
582582
local android_ndk_version="${ANDROID_NDK_VERSION:-r27d}"
583583
curl -fsSL -o ndk.zip --retry 3 https://dl.google.com/android/repository/android-ndk-"${android_ndk_version}"-"$(uname -s)".zip
584+
command -v unzip >/dev/null || install_package unzip
584585
unzip -q ndk.zip
585586
rm ndk.zip
586587
export ANDROID_NDK_HOME="${PWD}"/android-ndk-"${android_ndk_version}"

0 commit comments

Comments
 (0)