File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -12,21 +12,18 @@ jobs:
12
12
build-snapshot :
13
13
name : Build
14
14
runs-on : macos-latest
15
+ timeout-minutes : 30
16
+ defaults :
17
+ run :
18
+ shell : bash
15
19
steps :
16
20
- uses : actions/checkout@v4
17
21
18
22
- name : Install swiftly
19
- run : |
20
- curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \
21
- installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
22
- ~/.swiftly/bin/swiftly init --quiet-shell-followup && \
23
- . "${SWIFTLY_HOME_DIR:-~/.swiftly}/env.sh" && \
24
- hash -r
25
- shell : bash
23
+ run : brew install swiftly
26
24
27
25
- name : Use Swift Snapshot
28
- run : swiftly install main-snapshot && swiftly use main-snapshot
29
- shell : bash
26
+ run : swiftly install --use main-snapshot
30
27
31
28
- name : Build
32
29
run : swift build
You can’t perform that action at this time.
0 commit comments