Skip to content

Commit

Permalink
Apply the workaround to docs build too (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-fairy authored Sep 18, 2021
1 parent 2add073 commit fe4345d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ jobs:
override: true

- name: Build documentation
run: cd docs && make -j$(nproc)
run: |
# https://github.com/rust-lang/cargo/issues/9919
export CARGO_HTTP_MULTIPLEXING=false
cd docs && make -j$(nproc)
examples:
name: Examples
Expand All @@ -74,8 +77,10 @@ jobs:
override: true

- name: Doctest
# https://github.com/rust-lang/cargo/issues/9919
run: cd doctest && CARGO_HTTP_MULTIPLEXING=false cargo check
run: |
# https://github.com/rust-lang/cargo/issues/9919
export CARGO_HTTP_MULTIPLEXING=false
cd doctest && cargo check
rustfmt:
name: Rustfmt
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ jobs:
override: true

- name: Build documentation
run: cd docs && make -j$(nproc)
run: |
# https://github.com/rust-lang/cargo/issues/9919
export CARGO_HTTP_MULTIPLEXING=false
cd docs && make -j$(nproc)
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit fe4345d

Please sign in to comment.