Skip to content

Commit 658ac6e

Browse files
committed
Brew
1 parent c0ad659 commit 658ac6e

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/swift-snapshot.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,18 @@ jobs:
1212
build-snapshot:
1313
name: Build
1414
runs-on: macos-latest
15+
timeout-minutes: 30
16+
defaults:
17+
run:
18+
shell: bash
1519
steps:
1620
- uses: actions/checkout@v4
1721

1822
- 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
2624

2725
- name: Use Swift Snapshot
28-
run: swiftly install main-snapshot && swiftly use main-snapshot
29-
shell: bash
26+
run: swiftly install --use main-snapshot
3027

3128
- name: Build
3229
run: swift build

0 commit comments

Comments
 (0)