mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
ci: update toolchain for building api doc
This commit is contained in:
parent
dbd1c18379
commit
ba3d2e981b
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…
x
Reference in New Issue
Block a user