Avoid rustup self-updates on Windows GHA
This commit is contained in:
parent
8e62c98274
commit
7a76e61573
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user