Skip to content

Commit b55c67e

Browse files
committed
Use Swift 6
1 parent 09f8ece commit b55c67e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/xcframework-release.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,27 @@ on:
88
jobs:
99
macos:
1010
name: Build XCFramework
11-
runs-on: macos-latest
11+
runs-on: macos-15
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v4
15+
with:
16+
submodules: recursive
17+
# - name: Install Swift 6.0.3
18+
# run: |
19+
# # Install Swift 6.0.3 - https://download.swift.org/swift-6.0.3-release/xcode/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE-osx.pkg
20+
# SWIFT_VERSION=6.0.3
21+
# SWIFT_URL="https://download.swift.org/swift-$SWIFT_VERSION-release/xcode/swift-$SWIFT_VERSION-RELEASE/swift-$SWIFT_VERSION-RELEASE-osx.pkg"
22+
# curl -O $SWIFT_URL
23+
# sudo installer -pkg swift-$SWIFT_VERSION-RELEASE-osx.pkg -target /
24+
25+
# # Update the PATH for all subsequent steps
26+
# echo "/Library/Developer/Toolchains/swift-$SWIFT_VERSION-RELEASE.xctoolchain/usr/bin" >> $GITHUB_PATH
27+
- name: Verify Swift installation
28+
run: |
29+
echo "Swift version:"
30+
which swift
31+
swift --version
1532
- name: Generate Xcode project
1633
run: swift package --disable-sandbox tuist generate -p Projects/ --no-open
1734
- name: Archive & Create XCFramework

0 commit comments

Comments
 (0)