File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,14 @@ jobs:
4141 steps :
4242 - name : Checkout
4343 uses : actions/checkout@v4
44- - name : Swiftly step 1
45- run : curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz
46- - name : Swiftly step 2
47- run : tar zxf swiftly-$(uname -m).tar.gz
48- - name : Swiftly step 3
49- run : ./swiftly init --quiet-shell-followup
50- - name : Swiftly step 4
51- run : . ~/.local/share/swiftly/env.sh
52- - name : Swiftly step 5
53- run : hash -r
44+ - name : Install swiftly
45+ run : |
46+ curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz && \
47+ tar zxf swiftly-$(uname -m).tar.gz && \
48+ ./swiftly init --quiet-shell-followup && \
49+ . ~/.local/share/swiftly/env.sh && \
50+ hash -r
5451 - name : Install the latest Swift toolchain
55- run : swiftly install latest
52+ run : ./ swiftly install latest
5653 - name : Test
5754 run : swift test
You can’t perform that action at this time.
0 commit comments