mirror of
https://github.com/rust-lang/cargo
synced 2024-08-28 11:50:23 +00:00
Auto merge of #11134 - weihanglo:ci/update-toolchain-contrib-doc, r=epage
ci: update toolchain for building api doc
This commit is contained in:
commit
1a5a7ff321
2
.github/workflows/contrib.yml
vendored
2
.github/workflows/contrib.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue