From ae5cdee2d5899348ee6d59e55a368468c254e569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Mon, 20 Apr 2020 20:29:03 +0200 Subject: [PATCH] Fix rustc-dev component installation on CI --- ci/azure-install-rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/azure-install-rust.yml b/ci/azure-install-rust.yml index f37b4a6ab6f..f1117150603 100644 --- a/ci/azure-install-rust.yml +++ b/ci/azure-install-rust.yml @@ -4,7 +4,7 @@ steps: rustup set profile minimal rustup component remove --toolchain=$TOOLCHAIN rust-docs || echo "already removed" rustup update --no-self-update $TOOLCHAIN - if [ "$TOOLCHAIN" = "nightly" ]; then + if [[ "$TOOLCHAIN" == "nightly"* ]]; then rustup component add --toolchain=$TOOLCHAIN rustc-dev fi rustup default $TOOLCHAIN