mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-26 00:52:17 +01:00
Fix adding CARGO_HOME to PATH
This commit is contained in:
parent
aea84e9171
commit
7d2efc1a78
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ runs:
|
|||
run: |
|
||||
if ! command -v rustup &> /dev/null ; then
|
||||
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
|
||||
echo "${CARGO_HOME:-~/.cargo}/bin" >> $GITHUB_PATH
|
||||
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
|
||||
fi
|
||||
if: runner.os != 'Windows'
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue