Skip to content

Commit

Permalink
fix: add source "${CARGO_HOME:-$HOME/.cargo}/env" (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
StackOverflowExcept1on committed Jun 29, 2023
1 parent 17bc4c8 commit 9cd5efa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,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
source "${CARGO_HOME:-$HOME/.cargo}/env"
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
rustup show active-toolchain
fi
Expand Down

0 comments on commit 9cd5efa

Please sign in to comment.