Skip to content

Commit eceb16e

Browse files
committed
Respect pre-existing CARGO_HOME on Windows
1 parent 449259c commit eceb16e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ runs:
8080
if ! command -v rustup &>/dev/null; then
8181
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused --location --silent --show-error --fail https://static.rust-lang.org/rustup/dist/${{ runner.arch == 'ARM64' && 'aarch64' || 'x86_64' }}-pc-windows-msvc/rustup-init.exe --output '${{runner.temp}}\rustup-init.exe'
8282
'${{runner.temp}}\rustup-init.exe' --default-toolchain none --no-modify-path -y
83-
echo "$USERPROFILE\.cargo\bin" >> $GITHUB_PATH
83+
echo "$CARGO_HOME\bin" >> $GITHUB_PATH
8484
fi
8585
if: runner.os == 'Windows'
8686
shell: bash

0 commit comments

Comments
 (0)