Skip to content

Commit 22c9420

Browse files
committed
Handle installed-sdk and installed-swift inputs
1 parent f000dfe commit 22c9420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ runs:
295295
SWIFT_SDK_TARGET="${{ inputs.installed-sdk }}"
296296
echo "SWIFT_SDK_TARGET=${SWIFT_SDK_TARGET}" >> $GITHUB_ENV
297297
# for the bundle, we just grab the most recently installed one
298-
SWIFT_SDK_BUNDLE=$(ls -1rt ${SWIFT_SDK_ROOT}/*.artifactbundle | tail -n 1)
298+
SWIFT_SDK_BUNDLE=$(ls -1drt ${SWIFT_SDK_ROOT}/*.artifactbundle | tail -n 1)
299299
else
300300
SWIFT_SDK_ANROID_API="24"
301301
echo "SWIFT_SDK_ANROID_API=${SWIFT_SDK_ANROID_API}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)