Skip to content

Commit

Permalink
Fix rustc-dev component installation on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Apr 21, 2020
1 parent 9f74246 commit 6910cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/azure-install-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6910cdf

Please sign in to comment.