Skip to content

Commit 0d9bc9d

Browse files
committed
Auto merge of #9498 - ehuss:rustup-windows-workaround, r=alexcrichton
Add temporary fix for rustup on windows in CI. This adds a temporary fix for rustup on the Windows CI runners. The GitHub image updated to rustup 1.24.1 which has an issue (rust-lang/rustup#2759) causing them to fail. This is fixed in 1.24.2. I believe the images are updated on roughly a weekly basis, and from what I can see the image just downloads the most recently release, so hopefully this will be fixed on GitHub's side in roughly a week. Until then, this will force rustup to update. Note: Self updates aren't available on macOS images, but they seem to work on the others.
2 parents f0b39fc + 65ca4e0 commit 0d9bc9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ jobs:
5454
other: i686-pc-windows-gnu
5555
steps:
5656
- uses: actions/checkout@v2
57+
- name: Update Rustup (temporary workaround)
58+
run: rustup self update
59+
shell: bash
60+
if: startsWith(matrix.os, 'windows')
5761
- run: rustup update --no-self-update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
5862
- run: rustup target add ${{ matrix.other }}
5963
- run: rustup component add rustc-dev llvm-tools-preview rust-docs

0 commit comments

Comments
 (0)