From 4dee09cc07de603566cb7f3a957982d78ed8b88f Mon Sep 17 00:00:00 2001 From: Maksadbek Date: Tue, 3 Dec 2024 11:35:48 +0100 Subject: [PATCH] chore: replace yum with dnf for redhat/ubi8 --- .github/workflows/deploy.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ede778e8..9be7ca95 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -97,11 +97,12 @@ jobs: - name: Install dev-deps if: startsWith(matrix.os, 'ubuntu') 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-* \ - && yum install build-essential python3 -y \ - && yum clean all -y \ - && rm -rf /var/cache/yum + dnf install -y dnf-utils \ + && dnf config-manager --enable ubi-8-appstream \ + && dnf config-manager --enable ubi-8-baseos \ + && dnf install -y python3 gcc gcc-c++ make \ + && dnf clean all \ + && rm -rf /var/cache/dnf - name: Install deps uses: ./.github/workflows/composite/npm