File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,12 @@ jobs:
6565
6666 - name : verify-rust-toolchain
6767 # TODO: Investigate if this step fixes the intermittent Windows toolchain race condition.
68+ # Ref: https://github.com/rust-lang/rustup/issues/3104
6869 # If not effective, remove this step.
6970 shell : bash
7071 run : |
7172 TOOLCHAIN=$(rustup show active-toolchain | head -1 | cut -d' ' -f1)
73+ rustup toolchain uninstall "$TOOLCHAIN" || true
7274 rustup toolchain install "$TOOLCHAIN" --no-self-update
7375 cargo --version
7476
Original file line number Diff line number Diff line change @@ -50,10 +50,12 @@ jobs:
5050
5151 - name : verify-rust-toolchain
5252 # TODO: Investigate if this step fixes the intermittent Windows toolchain race condition.
53+ # Ref: https://github.com/rust-lang/rustup/issues/3104
5354 # If not effective, remove this step.
5455 shell : bash
5556 run : |
5657 TOOLCHAIN=$(rustup show active-toolchain | head -1 | cut -d' ' -f1)
58+ rustup toolchain uninstall "$TOOLCHAIN" || true
5759 rustup toolchain install "$TOOLCHAIN" --no-self-update
5860 cargo --version
5961
Original file line number Diff line number Diff line change @@ -43,10 +43,12 @@ jobs:
4343
4444 - name : verify-rust-toolchain
4545 # TODO: Investigate if this step fixes the intermittent Windows toolchain race condition.
46+ # Ref: https://github.com/rust-lang/rustup/issues/3104
4647 # If not effective, remove this step.
4748 shell : bash
4849 run : |
4950 TOOLCHAIN=$(rustup show active-toolchain | head -1 | cut -d' ' -f1)
51+ rustup toolchain uninstall "$TOOLCHAIN" || true
5052 rustup toolchain install "$TOOLCHAIN" --no-self-update
5153 cargo --version
5254
@@ -147,10 +149,12 @@ jobs:
147149
148150 - name : verify-rust-toolchain
149151 # TODO: Investigate if this step fixes the intermittent Windows toolchain race condition.
152+ # Ref: https://github.com/rust-lang/rustup/issues/3104
150153 # If not effective, remove this step.
151154 shell : bash
152155 run : |
153156 TOOLCHAIN=$(rustup show active-toolchain | head -1 | cut -d' ' -f1)
157+ rustup toolchain uninstall "$TOOLCHAIN" || true
154158 rustup toolchain install "$TOOLCHAIN" --no-self-update
155159 cargo --version
156160
You can’t perform that action at this time.
0 commit comments