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 @@ -733,13 +733,6 @@ install_android_sdk() {
733733 fi
734734 fi
735735
736- # Save NDK var for build later
737- if [[ -n " ${GITHUB_ENV:- } " ]]; then
738- {
739- echo " SWIFT_ANDROID_NDK_HOME=${ANDROID_NDK_HOME} "
740- } >> " $GITHUB_ENV "
741- fi
742-
743736 # run the bundled setup script with the matched toolchain in front of PATH
744737 # so any 'swift' it invokes resolves to the version that matches the SDK
745738 local toolchain_bin_dir
@@ -823,7 +816,8 @@ build() {
823816 alias swift=' $SWIFT_EXECUTABLE_FOR_ANDROID_SDK'
824817
825818 log " Using NDK at $ANDROID_NDK_HOME "
826-
819+
820+ echo " ANDROID_NDK_HOME=${ANDROID_NDK_HOME} " >> $GITHUB_ENV
827821 # This can become a single invocation in the future when `swift build` supports multiple Android triples at once
828822 for android_sdk_triple in " ${ANDROID_SDK_TRIPLES[@]} " ; do
829823 if [[ " $SWIFT_VERSION_INPUT " == " 6.3" || " $SWIFT_VERSION_INPUT " == " nightly-6.3" ]]; then
You can’t perform that action at this time.
0 commit comments