Merge pull request #28 from silwol/master-home-notilde

Add to GITHUB_PATH with $HOME instead of ~
This commit is contained in:
David Tolnay authored and GitHub committed 2022-08-02 04:10:54 -07:00
commit f7003eed5e
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ runs:
: install rustup if needed : install rustup if needed
if ! command -v rustup &> /dev/null ; then 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 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 fi
if: runner.os != 'Windows' if: runner.os != 'Windows'
shell: bash shell: bash