File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 - name : Check out repository
1313 uses : actions/checkout@v4
1414
15+ - name : Select Xcode 16
16+ run : |
17+ DEVELOPER_APP="$(find /Applications -maxdepth 1 -type d -name 'Xcode_16*.app' | sort | tail -n 1)"
18+ if [[ -z "${DEVELOPER_APP}" ]]; then
19+ echo "No Xcode 16 installation found on runner." >&2
20+ exit 1
21+ fi
22+ sudo xcode-select -s "${DEVELOPER_APP}/Contents/Developer"
23+ xcodebuild -version
24+ swift --version
25+
1526 - name : Build
1627 run : swift build
Original file line number Diff line number Diff line change 1616 - name : Check out repository
1717 uses : actions/checkout@v4
1818
19+ - name : Select Xcode 16
20+ run : |
21+ DEVELOPER_APP="$(find /Applications -maxdepth 1 -type d -name 'Xcode_16*.app' | sort | tail -n 1)"
22+ if [[ -z "${DEVELOPER_APP}" ]]; then
23+ echo "No Xcode 16 installation found on runner." >&2
24+ exit 1
25+ fi
26+ sudo xcode-select -s "${DEVELOPER_APP}/Contents/Developer"
27+ xcodebuild -version
28+ swift --version
29+
1930 - name : Show toolchain versions
2031 run : |
2132 sw_vers
You can’t perform that action at this time.
0 commit comments