Fix CI apt-get timeouts by retrying more often

This commit is contained in:
Sebastian Messmer 2022-10-12 10:02:34 -07:00
parent 33e205f642
commit 539c0db9b0
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ runs:
- name: Install Linux dependencies
shell: bash
run: |
echo 'Acquire::Retries "20";' | sudo tee -a /etc/apt/apt.conf.d/80-retries
if [[ "${{inputs.os}}" == "ubuntu-18.04" ]]; then
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 -