diff --git a/.github/workflows/build-wheel.yml b/.github/workflows/build-wheel.yml index 03ff077..d8c1d30 100644 --- a/.github/workflows/build-wheel.yml +++ b/.github/workflows/build-wheel.yml @@ -33,7 +33,10 @@ jobs: # force manylinux2014 to avoid compatibility issues on RHEL 7 CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 # install required dependencies: bz2 - CIBW_BEFORE_ALL: yum install -y bzip2-devel + CIBW_BEFORE_ALL: | + sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* + sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* + yum install -y bzip2-devel - name: Upload wheels uses: actions/upload-artifact@v2