Fix CI apt-get timeouts by retrying more often
This commit is contained in:
parent
33e205f642
commit
539c0db9b0
|
@ -13,6 +13,7 @@ runs:
|
||||||
- name: Install Linux dependencies
|
- name: Install Linux dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
echo 'Acquire::Retries "20";' | sudo tee -a /etc/apt/apt.conf.d/80-retries
|
||||||
if [[ "${{inputs.os}}" == "ubuntu-18.04" ]]; then
|
if [[ "${{inputs.os}}" == "ubuntu-18.04" ]]; then
|
||||||
echo Adding apt repositories for newer clang versions on Ubuntu 18.04
|
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 -
|
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
|
||||||
|
|
Loading…
Reference in New Issue