File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -335,6 +335,12 @@ runs:
335
335
SWIFT_SDK_ARTIFACT_ID=$(cat ${SWIFT_SDK_ARTIFACTBUNDLE}/info.json | jq -r '.artifacts[] | .variants[0].path')
336
336
SWIFT_ARTIFACTBUNDLE_ROOT="${SWIFT_SDK_ARTIFACTBUNDLE}/${SWIFT_SDK_ARTIFACT_ID}"
337
337
338
+ # run the SDK setup script if it exists
339
+ SWIFT_SDK_SETUP="${SWIFT_ARTIFACTBUNDLE_ROOT}/script/setup-android-sdk.sh"
340
+ if [[ -x "${SWIFT_SDK_SETUP}" ]]; then
341
+ ${SWIFT_SDK_SETUP}
342
+ fi
343
+
338
344
# extract the sdkRootPath from the swift-sdk.json
339
345
SWIFT_SDK_ROOT_PATH=$(cat ${SWIFT_ARTIFACTBUNDLE_ROOT}/swift-sdk.json | jq -r '.targetTriples[] | .sdkRootPath' | head -n 1)
340
346
SWIFT_ARTIFACTBUNDLE_SDK_ROOT_PATH="${SWIFT_ARTIFACTBUNDLE_ROOT}/${SWIFT_SDK_ROOT_PATH}"
You can’t perform that action at this time.
0 commit comments