Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 9dc39b3

Browse files
ci: add --force flag on toolchain install
1 parent e32d98f commit 9dc39b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/azure-install-rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ steps:
44
set -e
55
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
66
export PATH=$PATH:$HOME/.cargo/bin
7-
rustup toolchain install $RUSTUP_TOOLCHAIN
7+
rustup toolchain install $RUSTUP_TOOLCHAIN --force
88
rustup default $RUSTUP_TOOLCHAIN
99
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
1010
env:
@@ -17,7 +17,7 @@ steps:
1717
curl -sSf -o rustup-init.exe https://win.rustup.rs
1818
rustup-init.exe -y --default-toolchain none
1919
set PATH=%PATH%;%USERPROFILE%\.cargo\bin
20-
rustup toolchain install %RUSTUP_TOOLCHAIN%
20+
rustup toolchain install %RUSTUP_TOOLCHAIN% --force
2121
rustup default %RUSTUP_TOOLCHAIN%
2222
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
2323
env:

0 commit comments

Comments
 (0)