Skip to content

Commit c4b27ff

Browse files
authored
disable rustup self update for windows
This change fixes the Github Actions runs on Windows, using one of the workarounds described in rust-lang/rustup#3709
1 parent b7d9393 commit c4b27ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
run: git submodule update --init
2525
- name: Update Rust
2626
run: |
27+
rustup set auto-self-update disable
2728
rustup update ${{ matrix.toolchain }}
2829
rustup default ${{ matrix.toolchain }}
2930
rustup component add rustfmt
@@ -52,6 +53,7 @@ jobs:
5253
run: git submodule update --init
5354
- name: Update Rust
5455
run: |
56+
rustup set auto-self-update disable
5557
rustup update ${{ matrix.toolchain }}
5658
rustup default ${{ matrix.toolchain }}
5759
rustup component add rustfmt

0 commit comments

Comments
 (0)