From fe4345d0d8a9aed98402b6c9c35420f15be5dc63 Mon Sep 17 00:00:00 2001 From: Chris Wong Date: Sat, 18 Sep 2021 21:56:34 +1000 Subject: [PATCH] Apply the workaround to docs build too (#296) --- .github/workflows/ci.yml | 11 ++++++++--- .github/workflows/publish-docs.yml | 5 ++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bde4ab27..e3316c55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 6da913d6..8ff61674 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -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