From 539c0db9b0a82dda293ea81b18e3a103a9f31590 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Wed, 12 Oct 2022 10:02:34 -0700 Subject: [PATCH] Fix CI apt-get timeouts by retrying more often --- .github/workflows/actions/setup_linux/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actions/setup_linux/action.yaml b/.github/workflows/actions/setup_linux/action.yaml index 4c1c230a..4f3afac7 100644 --- a/.github/workflows/actions/setup_linux/action.yaml +++ b/.github/workflows/actions/setup_linux/action.yaml @@ -13,6 +13,7 @@ runs: - name: Install Linux dependencies shell: bash run: | + echo 'Acquire::Retries "20";' | sudo tee -a /etc/apt/apt.conf.d/80-retries if [[ "${{inputs.os}}" == "ubuntu-18.04" ]]; then echo Adding apt repositories for newer clang versions on Ubuntu 18.04 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -