mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 21:03:28 +01:00
workflows: retry on apt failure
Co-authored-by: xiphon <xiphon@protonmail.com>
This commit is contained in:
parent
6c7d928f19
commit
9c95437167
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -36,6 +36,11 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: remove bundled boost
|
- name: remove bundled boost
|
||||||
run: sudo rm -rf /usr/local/share/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
|
- name: update apt
|
||||||
run: sudo apt update
|
run: sudo apt update
|
||||||
- name: install monero dependencies
|
- name: install monero dependencies
|
||||||
@ -51,6 +56,11 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: remove bundled boost
|
- name: remove bundled boost
|
||||||
run: sudo rm -rf /usr/local/share/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
|
- name: update apt
|
||||||
run: sudo apt update
|
run: sudo apt update
|
||||||
- name: install monero dependencies
|
- name: install monero dependencies
|
||||||
@ -67,6 +77,11 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: remove bundled boost
|
- name: remove bundled boost
|
||||||
run: sudo rm -rf /usr/local/share/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
|
- name: update apt
|
||||||
run: sudo apt update
|
run: sudo apt update
|
||||||
- name: install monero dependencies
|
- name: install monero dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user