Skip to content

Commit 7a76e61

Browse files
committed
Avoid rustup self-updates on Windows GHA
1 parent 8e62c98 commit 7a76e61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/install-rust.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ fi
1313
if [ "$OS" = "windows" ]; then
1414
: "${TARGET?The TARGET environment variable must be set.}"
1515
rustup set profile minimal
16-
rustup update --force $toolchain-"$TARGET"
16+
# FIXME: Add `--no-self-update` to avoid CI failure.
17+
rustup update --force $toolchain-"$TARGET" --no-self-update
1718
rustup default $toolchain-"$TARGET"
1819
else
1920
rustup set profile minimal

0 commit comments

Comments
 (0)