ci: build rustdoc with a stable toolchain
This commit is contained in:
7
.github/workflows/docs.yaml
vendored
7
.github/workflows/docs.yaml
vendored
@@ -24,8 +24,8 @@ jobs:
|
||||
|
||||
- name: Install Rust toolchain
|
||||
run: |
|
||||
rustup toolchain install nightly
|
||||
rustup default nightly
|
||||
rustup toolchain install stable
|
||||
rustup default stable
|
||||
|
||||
- name: Setup Rust cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
@@ -50,6 +50,9 @@ jobs:
|
||||
run: mdbook build
|
||||
|
||||
- name: Build rustdoc
|
||||
env:
|
||||
# This is required to be able use to use the unstable `-Zrustdoc-map` flag
|
||||
RUSTC_BOOTSTRAP: "1"
|
||||
run: cargo doc -Zrustdoc-map --workspace --lib --no-deps
|
||||
|
||||
- name: Build storybook
|
||||
|
||||
Reference in New Issue
Block a user