You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by li...@apache.org on 2024/02/06 12:36:04 UTC

(opendal) branch main updated: docs: Fix docs build (#4162)

This is an automated email from the ASF dual-hosted git repository.

liuqingyue pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new f414084107 docs: Fix docs build (#4162)
f414084107 is described below

commit f414084107002cedc262e32089b9c33fddef75f9
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Tue Feb 6 20:35:52 2024 +0800

    docs: Fix docs build (#4162)
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 .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 4e1ff3b75b..4d31e26f2d 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.