Skip to content

Commit d3e1329

Browse files
committed
Another attempt at updating the path for subsequent steps
1 parent b03507a commit d3e1329

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ 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 -y --skip-install && . /root/.local/share/swiftly/env.sh && echo "PATH=$PATH" >> "$GITHUB_ENV"
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 -y --skip-install && . /root/.local/share/swiftly/env.sh && echo "PATH=$PATH" >> "$GITHUB_ENV" && echo "PATH=$PATH" "$GITHUB_ENV"
3838
- name: Install selected swift toolchain
39-
run: swiftly install --post-install-file=post-install.sh && swift --version
39+
run: swiftly install --post-install-file=post-install.sh
4040
- name: Perform swift toolchain post-installation
4141
run: chmod u+x post-install.sh && ./post-install.sh
42+
- name: Display swift version
43+
run: swift --version
4244
- name: Build and Test
4345
run: CC=clang swiftly run ./scripts/install-libarchive.sh && swift test
4446

0 commit comments

Comments
 (0)