File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 2222
2323 runs-on : ${{ matrix.os }}
2424
25+ env :
26+ SWIFT_VERSION : 6.1
27+
2528 steps :
2629 - uses : actions/setup-node@v4
2730 with :
3134 # what swift binary to use?
3235 - name : Setup Swift for Ubuntu
3336 if : runner.os == 'Linux'
34- uses : swift-actions/setup-swift@v2
35- with :
36- swift-version : " 6.0.3"
37+ run : |
38+ wget -q https://download.swift.org/swift-${SWIFT_VERSION}-release/ubuntu2204/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu22.04.tar.gz
39+ tar xzf swift-${SWIFT_VERSION}-RELEASE-ubuntu22.04.tar.gz
40+ mv swift-${SWIFT_VERSION}-RELEASE-ubuntu22.04 /opt/swift
41+ rm swift-${SWIFT_VERSION}-RELEASE-ubuntu22.04.tar.gz
42+ export PATH="/opt/swift/usr/bin:${PATH}"
3743 - uses : actions/checkout@v2
3844 - name : Build
3945 run : swift build -c ${{ matrix.kind }} -v
You can’t perform that action at this time.
0 commit comments