We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 397dd68 commit e4d5563Copy full SHA for e4d5563
ci/azure-install-rust.yml
@@ -4,12 +4,8 @@ steps:
4
if command -v rustup; then
5
echo `command -v rustup` `rustup -V` already installed
6
rustup self update
7
- elif [ "$AGENT_OS" = "Windows_NT" ]; then
8
- curl -sSf -o rustup-init.exe https://win.rustup.rs
9
- rustup-init.exe -y --default-toolchain $TOOLCHAIN --profile=minimal
10
- echo "##vso[task.prependpath]$USERPROFILE/.cargo/bin"
11
else
12
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN --profile=minimal
+ curl -sSL https://sh.rustup.rs | sh -s -- -y --default-toolchain="$TOOLCHAIN" --profile=minimal
13
echo "##vso[task.prependpath]$HOME/.cargo/bin"
14
fi
15
displayName: Install rustup
0 commit comments