From 98050428dff22669e74d8405816f6471d5c867b7 Mon Sep 17 00:00:00 2001 From: Alessandro Comodi Date: Tue, 1 Feb 2022 14:26:33 +0100 Subject: [PATCH] gh-ci: fix centos EOL Signed-off-by: Alessandro Comodi --- .github/workflows/sphinx-tuttest.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sphinx-tuttest.yml b/.github/workflows/sphinx-tuttest.yml index 23ddfb6..3440540 100644 --- a/.github/workflows/sphinx-tuttest.yml +++ b/.github/workflows/sphinx-tuttest.yml @@ -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'}}