File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
.github/workflows/scripts Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,8 @@ find_latest_sdk_snapshot() {
212212 log " Fetching development snapshots from swift.org API..."
213213
214214 if [[ " ${sdk_name} " == " android" ]]; then
215- # FIXME: hardwired Android nightly until there is an API endpoint
215+ # FIXME: hardwired Android nightly until there is an API endpoint like
216+ # https://www.swift.org/api/v1/install/dev/main/android-sdk.json
216217 echo " swift-DEVELOPMENT-SNAPSHOT-2025-10-16-a|451844c232cf1fa02c52431084ed3dc27a42d103635c6fa71bae8d66adba2500"
217218 return
218219 fi
@@ -586,10 +587,11 @@ install_android_sdk() {
586587 if [[ ! -d " ${ANDROID_NDK_HOME:- } " ]]; then
587588 # permit the "--android-ndk" flag to override the default
588589 local android_ndk_version=" ${ANDROID_NDK_VERSION:- r27d} "
589- curl -- retry 3 -fsSLO https://dl.google.com/android/repository/android-ndk-" ${android_ndk_version} " -" $( uname -s) " .zip
590- unzip -q android-ndk-" ${android_ndk_version} " - * .zip
590+ curl -fsSLO -- retry 3 -o " android-ndk- ${android_ndk_version} .zip " https://dl.google.com/android/repository/android-ndk-" ${android_ndk_version} " -" $( uname -s) " .zip
591+ unzip -q " android-ndk-${android_ndk_version} .zip"
591592 export ANDROID_NDK_HOME=" ${PWD} " /android-ndk-" ${android_ndk_version} "
592593 fi
594+
593595 ./swift-sdks/" ${android_sdk_bundle_dir} " /swift-android/scripts/setup-android-sdk.sh
594596 cd -
595597}
You can’t perform that action at this time.
0 commit comments