ci: use nightly for building docs.
This commit is contained in:
parent
89b7245da3
commit
92758c3119
1 changed files with 1 additions and 0 deletions
1
.github/ci/doc.sh
vendored
1
.github/ci/doc.sh
vendored
|
@ -8,6 +8,7 @@ export CARGO_HOME=/ci/cache/cargo
|
||||||
export CARGO_TARGET_DIR=/ci/cache/target
|
export CARGO_TARGET_DIR=/ci/cache/target
|
||||||
export BUILDER_THREADS=4
|
export BUILDER_THREADS=4
|
||||||
export BUILDER_COMPRESS=true
|
export BUILDER_COMPRESS=true
|
||||||
|
mv rust-toolchain-nightly.toml rust-toolchain.toml
|
||||||
|
|
||||||
# force rustup to download the toolchain before starting building.
|
# force rustup to download the toolchain before starting building.
|
||||||
# Otherwise, the docs builder is running multiple instances of cargo rustdoc concurrently.
|
# Otherwise, the docs builder is running multiple instances of cargo rustdoc concurrently.
|
||||||
|
|
Loading…
Reference in a new issue