diff options
author | selsta <selsta@sent.at> | 2020-03-31 23:42:18 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2020-04-01 02:32:50 +0200 |
commit | 9c954371679bc3fe1634aad2dce1cb7ba889b3f3 (patch) | |
tree | c6776f9a0531c890795f4e9387fc4705b95e35f5 /.github | |
parent | Merge pull request #6336 (diff) | |
download | monero-9c954371679bc3fe1634aad2dce1cb7ba889b3f3.tar.xz |
workflows: retry on apt failure
Co-authored-by: xiphon <xiphon@protonmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e1aade2d..3e4ee7dce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,6 +36,11 @@ jobs: submodules: recursive - 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 @@ -51,6 +56,11 @@ jobs: submodules: recursive - 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 @@ -67,6 +77,11 @@ jobs: submodules: recursive - 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 |