mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Fix rustc-dev component installation on CI
This commit is contained in:
parent
9f742466f1
commit
6910cdf458
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user