actions-rust-lang / setup-rust-toolchain

Setup a specific Rust toolchain with extra features like problem matchers
MIT License
196 stars 33 forks source link

Fix adding CARGO_HOME to PATH #7

Closed nahsi closed 2 years ago

nahsi commented 2 years ago

~/.cargo/bin is not a valid entry for $PATH, I think. It is not expanded.

The action works on ubuntu-latest where stable rust toolchain already present with rust tools like cargo etc, but it fails on self-hosted runners.

jonasbb commented 2 years ago

Thanks for fixing the code :) The code seems to have been fixed already in the dtolnay version. I guess I should check for bugfixes there sometimes. I will release a new version shortly.