1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 23:17:46 +00:00

Meta: Automatically select best apt mirror

This is an attempt to avoid issues with the azure ubuntu apt mirror
by using apt-spy2 to select the best mirror before installing
dependencies.
This commit is contained in:
MacDue 2023-02-06 20:08:37 +00:00 committed by Linus Groh
parent 89b8d346fe
commit b0606d90f0
7 changed files with 37 additions and 0 deletions

View file

@ -26,6 +26,12 @@ jobs:
- name: Checkout SerenityOS/serenity
uses: actions/checkout@v3
- name: "Select best APT mirror"
run: |
sudo gem install apt-spy2
sudo apt-spy2 fix --commit --launchpad --country=US
if: ${{ matrix.os == 'ubuntu-22.04' }}
- name: Install dependencies Ubuntu
run: |
sudo apt-get update