diff --git a/.github/workflows/ci-scripts-build.yml b/.github/workflows/ci-scripts-build.yml index a4f09dbe..cecd092c 100644 --- a/.github/workflows/ci-scripts-build.yml +++ b/.github/workflows/ci-scripts-build.yml @@ -240,7 +240,12 @@ jobs: # actions/checkout@v2 wants git >=2.18 # centos:7 has 1.8 if: matrix.image=='centos:7' + # By default, Centos 7 uses mirrorlist.centos.org for yum + # mirrorlist.centos.org no longer exists (as of 1st July 2024), so need to update repolist 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 yum -y install curl make gcc curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker curl https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.29.0.tar.gz | tar -xz cd git-* @@ -262,7 +267,7 @@ jobs: # people would rather just break all existing scripts... [ -e /usr/bin/python ] || ln -sf /usr/bin/python3 /usr/bin/python python --version - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Automatic core dumper analysis