Skip to content

Commit ae5cdee

Browse files
committed
Fix rustc-dev component installation on CI
1 parent 5aef423 commit ae5cdee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/azure-install-rust.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ steps:
44
rustup set profile minimal
55
rustup component remove --toolchain=$TOOLCHAIN rust-docs || echo "already removed"
66
rustup update --no-self-update $TOOLCHAIN
7-
if [ "$TOOLCHAIN" = "nightly" ]; then
7+
if [[ "$TOOLCHAIN" == "nightly"* ]]; then
88
rustup component add --toolchain=$TOOLCHAIN rustc-dev
99
fi
1010
rustup default $TOOLCHAIN

0 commit comments

Comments
 (0)