File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
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
-
11
8
jobs :
12
9
build :
13
10
@@ -19,12 +16,10 @@ jobs:
19
16
run : sudo apt-get install libfreetype6-dev
20
17
- name : Install Swift Dependencies
21
18
run : sudo apt-get install clang libicu-dev
22
- - name : Download Swift
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"
24
19
- name : Install Swift
25
- run : |
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 "
20
+ uses : fwal/setup-swift@v1
21
+ with :
22
+ swift-version : " 5.4 "
28
23
- name : Build
29
24
run : swift build -v
30
25
- name : Run tests
You can’t perform that action at this time.
0 commit comments