Skip to content

Commit 71dcb81

Browse files
authored
Merge pull request #236 from swhitty/xcode-27-search
Find Xcode 27 location with spotlight (CI)
2 parents cf3a048 + 6a6dc11 commit 71dcb81

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
xcode-27-b4:
9+
xcode-27:
1010
runs-on: xcode-27
1111
timeout-minutes: 4
12-
env:
13-
DEVELOPER_DIR: /Applications/Xcode_27_beta_4.app/Contents/Developer
1412
steps:
1513
- name: Checkout
1614
uses: actions/checkout@v4
15+
- name: 🔍 Xcode Select
16+
run: |
17+
XCODE_PATH=`mdfind "kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode' && kMDItemVersion = '27.0*'" -onlyin /Applications | head -1`
18+
echo "DEVELOPER_DIR=$XCODE_PATH/Contents/Developer" >> $GITHUB_ENV
1719
- name: Version
1820
run: swift --version
1921
- name: Build

0 commit comments

Comments
 (0)