Skip to content

Commit e028b87

Browse files
committed
only on nightly
1 parent 5d35d90 commit e028b87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/azure-install-rust.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ steps:
1515
rustup set profile minimal
1616
rustup component remove --toolchain=$TOOLCHAIN rust-docs || echo "already removed"
1717
rustup update --no-self-update $TOOLCHAIN
18-
rustup component add --toolchain=$TOOLCHAIN rustc-dev
18+
if [ "$TOOLCHAIN" = "nightly" ]; then
19+
rustup component add --toolchain=$TOOLCHAIN rustc-dev
20+
fi
1921
rustup default $TOOLCHAIN
2022
displayName: Install rust
2123

0 commit comments

Comments
 (0)