From 540f5d616656cbd542038443da7f8551a64a1ebc Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Tue, 6 Aug 2024 12:03:03 +0900 Subject: [PATCH] workflows: centos-7: Use Extra repo's epel-release Signed-off-by: Hiroshi Hatake --- .github/workflows/build.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4a71b70..10fdd2c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -48,8 +48,7 @@ jobs: sed -i -e "s/^#baseurl=http:\/\/mirror.centos.org/baseurl=http:\/\/vault.centos.org/g" /etc/yum.repos.d/CentOS-Base.repo && \ yum -y update && \ yum install -y ca-certificates cmake gcc gcc-c++ git make wget && \ - wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \ - rpm -ivh epel-release-latest-7.noarch.rpm && \ + yum install -y epel-release && \ yum install -y cmake3 shell: bash