ci: update toolchain for building api doc

This commit is contained in:
Weihang Lo 2022-09-22 21:40:27 +01:00
parent dbd1c18379
commit ba3d2e981b
No known key found for this signature in database
GPG Key ID: D7DBF189825E82E7
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ jobs:
mkdir mdbook
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.9/mdbook-v0.4.9-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Update toolchain
run: rustup update --no-self-update stable && rustup default stable
- name: Build API doc
run: |
cargo doc --document-private-items --no-deps