Skip to content

Commit

Permalink
Avoid rustup self-updates on Windows GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Dec 3, 2020
1 parent 8e62c98 commit 7a76e61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/install-rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ fi
if [ "$OS" = "windows" ]; then
: "${TARGET?The TARGET environment variable must be set.}"
rustup set profile minimal
rustup update --force $toolchain-"$TARGET"
# FIXME: Add `--no-self-update` to avoid CI failure.
rustup update --force $toolchain-"$TARGET" --no-self-update
rustup default $toolchain-"$TARGET"
else
rustup set profile minimal
Expand Down

0 comments on commit 7a76e61

Please sign in to comment.