gh-ci: fix centos EOL
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
parent
8d9b042c7b
commit
98050428df
|
@ -51,9 +51,16 @@ jobs:
|
|||
if: ${{matrix.os == 'ubuntu' || matrix.os == 'debian'}}
|
||||
run: apt -qqy update && apt -qqy install wget locales && locale-gen $LANG
|
||||
|
||||
- name: Install utils
|
||||
if: ${{matrix.os == 'centos' && matrix.os-version == '8'}}
|
||||
run: |
|
||||
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-*
|
||||
|
||||
- name: Install utils
|
||||
if: ${{matrix.os == 'centos'}}
|
||||
run: yum -y install wget
|
||||
run: |
|
||||
yum -y install wget
|
||||
|
||||
- name: Install utils
|
||||
if: ${{matrix.os == 'fedora'}}
|
||||
|
|
Loading…
Reference in New Issue