From 9d4735bc58c5fc5ffebd3f789a610397985f03b1 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Tue, 6 Feb 2024 18:30:37 +0800 Subject: [PATCH] docs: Fix docs build Signed-off-by: Xuanwo --- .github/workflows/docs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4e1ff3b75ba9..4d31e26f2ddc 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -47,9 +47,10 @@ jobs: need-protoc: true github-token: ${{ secrets.GITHUB_TOKEN }} + # Revert to nightly after https://github.com/apache/opendal/issues/4161 addressed - name: Setup Rust Nightly run: | - rustup toolchain install nightly + rustup toolchain install nightly-2024-01-01 - uses: actions/setup-java@v4 with: @@ -58,7 +59,7 @@ jobs: - name: Build OpenDAL doc working-directory: core - run: cargo +nightly doc --lib --no-deps --all-features + run: cargo +nightly-2024-01-01 doc --lib --no-deps --all-features env: LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.LD_LIBRARY_PATH }} # Enable cfg docs to make sure docs are built.