diff --git a/action.yml b/action.yml index 6512b80..ef88cc5 100644 --- a/action.yml +++ b/action.yml @@ -35,7 +35,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 "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "${CARGO_HOME:-~/.cargo}/bin" >> $GITHUB_PATH fi if: runner.os != 'Windows' shell: bash