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 5
5
branches : master
6
6
pull_request :
7
7
8
+ env :
9
+ SWIFT_VERSION : 5.2.1
10
+
8
11
jobs :
9
12
build :
10
13
@@ -17,11 +20,11 @@ jobs:
17
20
- name : Install Swift Dependencies
18
21
run : sudo apt-get install clang libicu-dev
19
22
- 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"
21
24
- name : Install Swift
22
25
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"
25
28
- name : Build
26
29
run : swift build -v
27
30
- name : Run tests
You can’t perform that action at this time.
0 commit comments