From c6f5631be630c5fcae4f97f5edabcc014775fe71 Mon Sep 17 00:00:00 2001 From: SzabolcsGergely Date: Tue, 2 Jul 2024 14:39:59 +0300 Subject: [PATCH] Update mirrorlist --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 05c49db91..8816ab5c1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -311,6 +311,11 @@ jobs: - uses: actions/checkout@v3 with: submodules: 'recursive' + - name: Patching mirrorlist + run: | + sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo + sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo - name: Installing libusb1-devel dependency run: yum install -y --disableplugin=fastestmirror libusb1-devel perl-core - name: Installing cmake dependency