Skip to content

Commit 416e5d9

Browse files
authored
List what version of Xcode GitHub has.
1 parent 255ad69 commit 416e5d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/swift_package_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ jobs:
180180
do
181181
printf "%s\n" $i >> $GITHUB_ENV
182182
done
183-
- name: List installed applications.
184-
run: ls /Applications
183+
- name: List latest Xcode version.
184+
run: plutil -extract CFBundleShortVersionString raw /Applications/Xcode-latest.app/Contents/Info.plist
185185
- name: Select Xcode
186186
run: echo "DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode_version }}.app" >> $GITHUB_ENV
187187
- name: Swift version

0 commit comments

Comments
 (0)