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:
parent
89b8d346fe
commit
b0606d90f0
7 changed files with 37 additions and 0 deletions
6
.github/workflows/serenity-js-artifacts.yml
vendored
6
.github/workflows/serenity-js-artifacts.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue