Add to GITHUB_PATH with $HOME instead of ~

This commit is contained in:
Wolfgang Silbermayr 2022-08-01 14:38:55 +02:00
parent 415f4eec04
commit 1f4843331b

View file

@ -42,7 +42,7 @@ runs:
: install rustup if needed
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