Skip to content

Commit 1a5a7ff

Browse files
committed
Auto merge of #11134 - weihanglo:ci/update-toolchain-contrib-doc, r=epage
ci: update toolchain for building api doc
2 parents 902bb0c + ba3d2e9 commit 1a5a7ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/contrib.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
mkdir mdbook
2222
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
2323
echo `pwd`/mdbook >> $GITHUB_PATH
24+
- name: Update toolchain
25+
run: rustup update --no-self-update stable && rustup default stable
2426
- name: Build API doc
2527
run: |
2628
cargo doc --document-private-items --no-deps

0 commit comments

Comments
 (0)