Skip to content

Commit b61be5e

Browse files
committed
Lint fixes and better location of swift-sdks install location
1 parent ad50988 commit b61be5e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,9 @@ install_android_sdk() {
569569
fi
570570

571571
# now setup the link to the local ANDROID_NDK_HOME
572-
"${HOME}"/.config/swiftpm/swift-sdks/${android_sdk_bundle_dir}/swift-android/scripts/setup-android-sdk.sh
572+
cd ~/Library/org.swift.swiftpm || cd "${XDG_CONFIG_HOME}"/swiftpm || cd ~/.local/swiftpm || cd ~/.swiftpm
573+
./swift-sdks/"${android_sdk_bundle_dir}"/swift-android/scripts/setup-android-sdk.sh
574+
cd -
573575
}
574576

575577
install_static_linux_sdk() {

.github/workflows/test-sdks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ jobs:
3434
3535
- name: Check Binary
3636
run: file .build/debug/hello
37-

0 commit comments

Comments
 (0)