File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 55 branches : master
66 pull_request :
77
8+ env :
9+ SWIFT_VERSION : 5.2.1
10+
811jobs :
912 build :
1013
@@ -17,11 +20,11 @@ jobs:
1720 - name : Install Swift Dependencies
1821 run : sudo apt-get install clang libicu-dev
1922 - name : Download Swift
20- run : wget "https://swift.org/builds/swift-5.1.3 -release/ubuntu1804/swift-5.1.3 -RELEASE/swift-5.1.3 -RELEASE-ubuntu18.04.tar.gz"
23+ run : wget "https://swift.org/builds/swift-${{ env.SWIFT_VERSION }} -release/ubuntu1804/swift-${{ env.SWIFT_VERSION }} -RELEASE/swift-${{ env.SWIFT_VERSION }} -RELEASE-ubuntu18.04.tar.gz"
2124 - name : Install Swift
2225 run : |
23- tar xzf swift-5.1.3 -RELEASE-ubuntu18.04.tar.gz
24- echo "::add-path::$(pwd)/swift-5.1.3 -RELEASE-ubuntu18.04/usr/bin"
26+ tar xzf swift-${{ env.SWIFT_VERSION }} -RELEASE-ubuntu18.04.tar.gz
27+ echo "::add-path::$(pwd)/swift-${{ env.SWIFT_VERSION }} -RELEASE-ubuntu18.04/usr/bin"
2528 - name : Build
2629 run : swift build -v
2730 - name : Run tests
You can’t perform that action at this time.
0 commit comments