Skip to content

Commit

Permalink
disable rustup self update for windows
Browse files Browse the repository at this point in the history
This change fixes the Github Actions runs on Windows,
using one of the workarounds described in
rust-lang/rustup#3709
  • Loading branch information
goatshriek committed May 8, 2024
1 parent b7d9393 commit c4b27ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
run: git submodule update --init
- name: Update Rust
run: |
rustup set auto-self-update disable
rustup update ${{ matrix.toolchain }}
rustup default ${{ matrix.toolchain }}
rustup component add rustfmt
Expand Down Expand Up @@ -52,6 +53,7 @@ jobs:
run: git submodule update --init
- name: Update Rust
run: |
rustup set auto-self-update disable
rustup update ${{ matrix.toolchain }}
rustup default ${{ matrix.toolchain }}
rustup component add rustfmt
Expand Down

0 comments on commit c4b27ff

Please sign in to comment.