From cf60bc83227d602f79ec09ada50f628ffc6350f8 Mon Sep 17 00:00:00 2001 From: Robbie Murray Date: Wed, 13 Nov 2024 13:25:59 +0000 Subject: [PATCH] .github/workflows/ios-tests.yml: exclude Beta and Release Candidate versions of Xcode --- .github/workflows/ios-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ios-tests.yml b/.github/workflows/ios-tests.yml index 6c14331..5d8680a 100644 --- a/.github/workflows/ios-tests.yml +++ b/.github/workflows/ios-tests.yml @@ -19,7 +19,7 @@ jobs: - name: setup run: | # Find path of latest installed Xcode version - xcode_path="$(ls -d /Applications/Xcode*.app | sort -V | tail -n1)" + xcode_path="$(ls -d /Applications/Xcode*.app | grep -v -E 'Release_Candidate|Beta' | sort -V | tail -n1)" echo "Xcode path: ${xcode_path}" sudo xcode-select -s "${xcode_path}/Contents/Developer" xcodebuild -version