Skip to content

Commit ebd4268

Browse files
committed
Use install script to install Android SDK
1 parent e7d782b commit ebd4268

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,10 @@ jobs:
146146
swift package init --name hello --type executable
147147
148148
- name: Build Package for Android
149-
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
150-
with:
151-
enable_android_sdk_build: true
152-
#android_ndk_version: ${ANDROID_NDK_VERSION}
153-
enable_linux_checks: false
154-
enable_macos_checks: false
155-
enable_windows_checks: false
149+
run: |
150+
#curl -s --retry 3 https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/install-and-build-with-sdk.sh | \
151+
curl -s --retry 3 https://raw.githubusercontent.com/swift-android-sdk/github-workflows/refs/heads/android-workflow/.github/workflows/scripts/install-and-build-with-sdk.sh | \
152+
bash -s -- --android --flags="$BUILD_FLAGS" --build-command="${{ inputs.android_sdk_build_command }}" --android-sdk-triple="${{ inputs.android_sdk_triple }}" --android-ndk-version="${{ inputs.android_ndk_version }}" ${{ matrix.swift_version }}
156153
157154
- name: Check Swift Package
158155
run: |

0 commit comments

Comments
 (0)