Skip to content

Commit 38df99b

Browse files
authored
fix: CentOS 仓库失效
1 parent 633b70c commit 38df99b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +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
8990
docker exec -t centos7Instance yum install -y rpmdevtools>/dev/null
9091
echo install rpmdevtools Finish.
9192
work_path="${pwd_path}/build/rpm/"

0 commit comments

Comments
 (0)