Skip to content

Commit 678984f

Browse files
committed
Fail when no excode version available
1 parent 376451a commit 678984f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎.github/workflows/ios-e2e.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ jobs:
3232
if [ ! -d "$XCODE_APP" ]; then
3333
echo "Xcode ${XCODE_VERSION} is not installed on this runner. Available:" >&2
3434
ls -d /Applications/Xcode*.app >&2
35-
XCODE_APP=$(ls -d /Applications/Xcode_*.app 2>/dev/null | sort -V | tail -1)
36-
[ -n "$XCODE_APP" ] || XCODE_APP=/Applications/Xcode.app
37-
echo "Falling back to $XCODE_APP" >&2
35+
exit 1
3836
fi
3937
echo "Using $XCODE_APP"
4038
echo "DEVELOPER_DIR=$XCODE_APP/Contents/Developer" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)