Skip to content

Commit 4bed078

Browse files
committed
Output message when setup script does not exist
1 parent 3b271ea commit 4bed078

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,11 @@ runs:
336336
SWIFT_ARTIFACTBUNDLE_ROOT="${SWIFT_SDK_ARTIFACTBUNDLE}/${SWIFT_SDK_ARTIFACT_ID}"
337337
338338
# run the SDK setup script if it exists
339-
SWIFT_SDK_SETUP="${SWIFT_ARTIFACTBUNDLE_ROOT}/script/setup-android-sdk.sh"
339+
SWIFT_SDK_SETUP="${SWIFT_ARTIFACTBUNDLE_ROOT}/scripts/setup-android-sdk.sh"
340340
if [[ -x "${SWIFT_SDK_SETUP}" ]]; then
341341
${SWIFT_SDK_SETUP}
342+
else
343+
echo "No setup script to run in ${SWIFT_ARTIFACTBUNDLE_ROOT}/scripts"
342344
fi
343345
344346
# extract the sdkRootPath from the swift-sdk.json

0 commit comments

Comments
 (0)