We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bf4a43 commit 9297110Copy full SHA for 9297110
.github/workflows/ci.yml
@@ -54,8 +54,8 @@ jobs:
54
- name: Rust
55
shell: bash
56
run: |
57
- if ! which cargo > /dev/null 2>&1; then
58
- export PATH=$HOME/.cargo/bin:$PATH
+ if [ -d "$HOME/.cargo/bin" ] && ! which cargo > /dev/null 2>&1; then
+ export PATH="$HOME/.cargo/bin:$PATH"
59
fi
60
rustc --version --verbose
61
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
0 commit comments