workflows: retry on apt failure / increase timeout

Co-authored-by: xiphon <xiphon@protonmail.com>
This commit is contained in:
selsta 2020-04-01 00:50:24 +02:00
parent aecd218d15
commit a9fea2462b
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -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