Skip to content

Commit

Permalink
docs: Fix docs build (#4162)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored Feb 6, 2024
1 parent 71d7dc8 commit f414084
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down

0 comments on commit f414084

Please sign in to comment.