Skip to content

Commit f0e74ae

Browse files
authored
ci: fix eol centos8 mirror (#890)
Signed-off-by: Ric Li <[email protected]>
1 parent fd9437e commit f0e74ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/centos_build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555

5656
- name: Install the build dependency
5757
run: |
58+
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
59+
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
5860
yum install -y dnf-plugins-core
5961
dnf config-manager --set-enabled powertools
6062
yum install -y epel-release

0 commit comments

Comments
 (0)