From a8fc2a2e5e90a5c6596683ed47311e684a06d0ae Mon Sep 17 00:00:00 2001 From: s1rius Date: Sat, 14 Oct 2023 23:21:55 +0800 Subject: [PATCH] doc: update mdbook version --- .github/workflows/install-mdbook/action.yml | 6 +++--- .github/workflows/publish_pages.yml | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/install-mdbook/action.yml b/.github/workflows/install-mdbook/action.yml index 5da27cf..82ea52d 100644 --- a/.github/workflows/install-mdbook/action.yml +++ b/.github/workflows/install-mdbook/action.yml @@ -8,13 +8,13 @@ runs: # The --locked flag is important for reproducible builds. It also # avoids breakage due to skews between mdbook and mdbook-svgbob. - name: Install mdbook - run: cargo install mdbook --locked --version 0.4.28 + run: cargo +nightly install mdbook --locked --version 0.4.35 shell: bash - name: Install mdbook-svgbob - run: cargo install mdbook-svgbob --locked --version 0.2.1 + run: cargo +nightly install mdbook-svgbob --locked --version 0.2.1 shell: bash - name: Install mdbook-i18n-helpers - run: cargo install mdbook-i18n-helpers --locked --version 0.1.0 + run: cargo +nightly install mdbook-i18n-helpers --locked --version 0.2.4 shell: bash \ No newline at end of file diff --git a/.github/workflows/publish_pages.yml b/.github/workflows/publish_pages.yml index cc79c97..2f18073 100644 --- a/.github/workflows/publish_pages.yml +++ b/.github/workflows/publish_pages.yml @@ -34,6 +34,11 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + toolchain: nightly-2023-10-13 + - name: Install mdbook uses: ./.github/workflows/install-mdbook