Skip to content

Commit

Permalink
docs: Fix docs build
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo committed Feb 6, 2024
1 parent 71d7dc8 commit 9d4735b
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 9d4735b

Please sign in to comment.