File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 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+
28+ - name : Verify Swift installation
29+ run : |
30+ echo "Swift version:"
31+ which swift
32+ swift --version
1533 - name : Generate Xcode project
1634 run : swift package --disable-sandbox tuist generate -p Projects/ --no-open
1735 - name : Archive & Create XCFramework
You can’t perform that action at this time.
0 commit comments