File tree Expand file tree Collapse file tree
.github/workflows/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -678,6 +678,14 @@ install_android_sdk() {
678678 # Check if the correct NDK is already cached in the same directory, as
679679 # it often is on GitHub runners, and use it if so
680680 local try_ndk_path=$( find " ${ANDROID_NDK_HOME} /.." -name " $( echo $android_ndk_version | tr -d " [:alpha:]" ) *" -maxdepth 1)
681+ log " looking in $try_ndk_path "
682+ if [[ -d " ${try_ndk_path} " ]]; then
683+ log " Found the directory"
684+ fi
685+ local foo=$( cat " ${try_ndk_path} /source.properties" )
686+ local goo=$( grep -q " Pkg.ReleaseName = ${android_ndk_version} " " ${try_ndk_path} /source.properties" )
687+ log " Looked in $foo "
688+ log " Got $goo "
681689 if [[ -d " ${try_ndk_path} " && $( grep -q " Pkg.ReleaseName = ${android_ndk_version} " " ${try_ndk_path} /source.properties" ) ]]; then
682690 log " Found a matching Android NDK $android_ndk_version at $try_ndk_path instead"
683691 export ANDROID_NDK_HOME=" $try_ndk_path "
You can’t perform that action at this time.
0 commit comments