Skip to content

Commit 4e1bbaf

Browse files
authored
fix(CI): CentOS 过期的问题
1 parent 38df99b commit 4e1bbaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
mkdir -p ${pwd_path}/packages
8787
docker run -itd -v ${pwd_path}:${pwd_path} --name centos7Instance --net="host" docker.io/centos:7 /bin/bash
8888
echo install rpmdevtools ing...
89-
docker exec -t centos7Instance curl -so /etc/yum.repos.d/CentOS-Base.repo https://mirrors.wlnmp.com/centos/Centos7-aliyun-x86_64.repo
89+
docker exec -t centos7Instance curl -so /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
9090
docker exec -t centos7Instance yum install -y rpmdevtools>/dev/null
9191
echo install rpmdevtools Finish.
9292
work_path="${pwd_path}/build/rpm/"

0 commit comments

Comments
 (0)