We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0ec9b2 commit ec8eb35Copy full SHA for ec8eb35
1 file changed
.github/workflows/build.yml
@@ -8,29 +8,24 @@ on:
8
9
jobs:
10
build:
11
- runs-on: macos-14
12
-
+ runs-on: macos-15
+
13
steps:
14
- uses: actions/checkout@v4
15
16
- - name: Set up Xcode
17
- uses: maxim-lobanov/setup-xcode@v1
18
- with:
19
- xcode-version: latest-stable
20
21
- name: Build
22
run: |
23
XCODEPROJ=$(find . -name "*.xcodeproj" -maxdepth 2 | head -1)
24
if [ -z "$XCODEPROJ" ]; then
25
echo "No Xcode project found"
26
exit 1
27
fi
28
29
SCHEME=$(xcodebuild -list -project "$XCODEPROJ" 2>/dev/null | awk '/Schemes:/{found=1; next} found && NF{print; exit}' | xargs)
30
if [ -z "$SCHEME" ]; then
31
SCHEME=$(basename "$XCODEPROJ" .xcodeproj)
32
33
34
echo "Building scheme: $SCHEME"
35
xcodebuild build \
36
-project "$XCODEPROJ" \
0 commit comments