From 504eb0d0141baa5c55267d641c37a155b2780ed2 Mon Sep 17 00:00:00 2001 From: Raphael <81313171+Einliterflasche@users.noreply.github.com> Date: Sat, 15 Feb 2025 22:26:04 +0100 Subject: [PATCH] ci: fix spurious network erros (#268) Occasionally our ci jobs would fail due to network errors. This is a known issue which is worked around by disabling http multiplexing, for now. Hopefully. --- .github/workflows/build-gui-release-binaries-cb.yml | 6 ++++++ .github/workflows/build-gui-release-binaries.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/build-gui-release-binaries-cb.yml b/.github/workflows/build-gui-release-binaries-cb.yml index df6b43f0..927c4930 100644 --- a/.github/workflows/build-gui-release-binaries-cb.yml +++ b/.github/workflows/build-gui-release-binaries-cb.yml @@ -78,6 +78,12 @@ jobs: gir1.2-javascriptcoregtk-4.1=2.44.0-2 \ gir1.2-webkit2-4.1=2.44.0-2; + - name: work around spurious network errors in curl 8.0 + run: | + if rustc --version --verbose | grep -q '^release: 1\.79\.'; then + echo CARGO_HTTP_MULTIPLEXING=false >> $GITHUB_ENV + fi + - name: Install Frontend Dependencies working-directory: src-gui run: yarn install diff --git a/.github/workflows/build-gui-release-binaries.yml b/.github/workflows/build-gui-release-binaries.yml index b9c6339f..36154d76 100644 --- a/.github/workflows/build-gui-release-binaries.yml +++ b/.github/workflows/build-gui-release-binaries.yml @@ -64,6 +64,12 @@ jobs: gir1.2-javascriptcoregtk-4.1=2.44.0-2 \ gir1.2-webkit2-4.1=2.44.0-2; + - name: work around spurious network errors in curl 8.0 + run: | + if rustc --version --verbose | grep -q '^release: 1\.79\.'; then + echo CARGO_HTTP_MULTIPLEXING=false >> $GITHUB_ENV + fi + - name: install frontend dependencies working-directory: src-gui run: yarn install