Skip to content

Commit 342de12

Browse files
committed
Try and get swiftly into the shell environment
1 parent c558f76 commit 342de12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Prepare image
3535
run: ./scripts/prep-gh-action.sh
3636
- name: Install swiftly
37-
run: curl -O https://download.swift.org/swiftly/linux/swiftly-0.4.0-dev-x86_64.tar.gz && tar zxf swiftly-*.tar.gz && mv swiftly /usr/bin && swiftly init --skip-install
37+
run: curl -O https://download.swift.org/swiftly/linux/swiftly-0.4.0-dev-x86_64.tar.gz && tar zxf swiftly-*.tar.gz && mv swiftly /usr/bin && swiftly init --skip-install && . "/root/.local/share/swiftly/env.sh" && hash -r
3838
- name: Install selected swift toolchain
3939
run: swiftly install --post-install-file=post-install.sh
4040
- name: Perform swift toolchain post-installation

0 commit comments

Comments
 (0)