From 06614e95a4f8f8ec7e3300facd92633dddf504ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michele=20Orr=C3=B9?= Date: Tue, 29 Oct 2024 14:50:43 +0100 Subject: [PATCH] Update docs.yml --- .github/workflows/docs.yml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e5a014a..16b6057 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,21 +28,13 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - profile: minimal - override: true - components: rustfmt, rust-src - - name: Checkout - uses: actions/checkout@v3 - - name: Build Documentation - uses: actions-rs/cargo@v1 - with: - command: doc - args: --all-features --enable-index-page - - name: Setup Pages + - name: git clone + uses: actions/checkout@v4 + - name: install toolchain + uses: dtolnay/rust-toolchain@stable + - name: cargo doc + run: RUSTDOCFLAGS="-Z unstable-options --enable-index-page" cargo doc --all-features + - name: page configuration uses: actions/configure-pages@v3 - name: Upload artifact uses: actions/upload-pages-artifact@v1