Skip to content

Commit 9297110

Browse files
committed
fixup! .github/workflows/ci.yml: test Windows on ARM.
1 parent 7bf4a43 commit 9297110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
- name: Rust
5555
shell: bash
5656
run: |
57-
if ! which cargo > /dev/null 2>&1; then
58-
export PATH=$HOME/.cargo/bin:$PATH
57+
if [ -d "$HOME/.cargo/bin" ] && ! which cargo > /dev/null 2>&1; then
58+
export PATH="$HOME/.cargo/bin:$PATH"
5959
fi
6060
rustc --version --verbose
6161
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse

0 commit comments

Comments
 (0)