From cb2387049794764a2aa79d61f931bc86246efc2d Mon Sep 17 00:00:00 2001 From: William Rusnack Date: Mon, 1 Jul 2024 13:27:09 -0400 Subject: [PATCH] use vaulted centos packages --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a58cca0..ee6716dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -192,6 +192,12 @@ jobs: steps: - name: install deps run: | + # Fixing “No URLs in Mirrorlist” Error on CentOS 8 Stream + # https://bitsanddragons.wordpress.com/2024/06/04/fixing-no-urls-in-mirrorlist-error-on-centos-8-stream/ + # https://archive.vn/dCjg1 + 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 gcc gmp gmp-devel make ncurses ncurses-compat-libs xz perl curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_GHC_VERSION=9.2.8 sh - uses: actions/checkout@v3 #This version must stay old enough to remain compatible with the container image