Enable download metadata for repo 'appstream' of centos-8
@@ -193,6 +193,10 @@ jobs:
- name: Prepare Environment
shell: bash
run: |
+ # fixed download metadata for repo 'appstream'
+ sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
+ sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
+
dnf install -y gcc gcc-c++ make cmake
# install git and python3
