From 48b756f82fe35997ca68a45f8ba201dd17212a2a Mon Sep 17 00:00:00 2001 From: Pherring04 Date: Tue, 2 Jul 2024 10:51:34 -0500 Subject: [PATCH] Change CentOS to base url --- .github/workflows/python_tests_linux.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/python_tests_linux.yml b/.github/workflows/python_tests_linux.yml index 96982006..f1bc3a78 100644 --- a/.github/workflows/python_tests_linux.yml +++ b/.github/workflows/python_tests_linux.yml @@ -125,14 +125,13 @@ jobs: python3.8-dev - cfg: { os: centos, tag: 7 } tag_deps: >- + sed -i -e "s|mirrorlist=|#mirrorlist=|g" -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-Linux-* && swig3 python-devel - cfg: { os: centos, tag: latest } pkg_mgr: dnf conf_pkg: > - grep -Ir mirrorlist /etc/yum.repos.d/CentOS-Linux-* && sed -i -e "s|mirrorlist=|#mirrorlist=|g" -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-Linux-* && - grep -Ir mirrorlist /etc/yum.repos.d/CentOS-Linux-* && dnf -y install epel-release && dnf -y update && dnf install -y 'dnf-command(config-manager)' &&