ci: use nightly for building docs.

This commit is contained in:
Dario Nieuwenhuis 2023-12-23 16:01:08 +01:00
parent 89b7245da3
commit 92758c3119

1
.github/ci/doc.sh vendored
View File

@ -8,6 +8,7 @@ export CARGO_HOME=/ci/cache/cargo
export CARGO_TARGET_DIR=/ci/cache/target
export BUILDER_THREADS=4
export BUILDER_COMPRESS=true
mv rust-toolchain-nightly.toml rust-toolchain.toml
# force rustup to download the toolchain before starting building.
# Otherwise, the docs builder is running multiple instances of cargo rustdoc concurrently.