Skip to content

Commit 05ef2dc

Browse files
committed
Try to read env
1 parent 0555f97 commit 05ef2dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/swift-snapshot.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
run: brew install swiftly && swiftly init --quiet-shell-followup --skip-install -y
2424

2525
- name: Use Swift Snapshot
26-
run: swiftly install -y main-snapshot
26+
run: swiftly install -y main-snapshot && swiftly use -y main-snapshot
2727

2828
- name: Build
29-
run: swiftly use -y main-snapshot && swift build
29+
run: |
30+
. "${SWIFTLY_HOME_DIR:-~/.swiftly}/env.sh" && \
31+
hash -r && \
32+
swift build

0 commit comments

Comments
 (0)