From a9fea2462b9523fed5d1e267dae26d3addfdb2d2 Mon Sep 17 00:00:00 2001 From: selsta Date: Wed, 1 Apr 2020 00:50:24 +0200 Subject: [PATCH] workflows: retry on apt failure / increase timeout Co-authored-by: xiphon --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1a1daa8..a06055e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,11 @@ jobs: - uses: actions/checkout@v1 - name: remove bundled boost run: sudo rm -rf /usr/local/share/boost + - name: set apt conf + run: | + echo "Acquire::Retries \"3\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom + echo "Acquire::http::Timeout \"120\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom + echo "Acquire::ftp::Timeout \"120\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom - name: update apt run: sudo apt update - name: install monero dependencies