From c67e48715c6128db938ccaa970f46ebcee63a582 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Mon, 20 Nov 2023 13:41:14 +0100 Subject: [PATCH] GHA: Enable 'crb' repo on CentOS to have python3-sphinx available --- .github/workflows/build-install.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-install.yaml b/.github/workflows/build-install.yaml index 62662d827c..d2c5b0d6a9 100644 --- a/.github/workflows/build-install.yaml +++ b/.github/workflows/build-install.yaml @@ -54,13 +54,22 @@ jobs: zypper -n dist-upgrade zypper -n install git-lfs rpm-build - - name: 'Install packages (Fedora/CentOS)' - if: ${{ contains(matrix.container, '/fedora:') || contains(matrix.container, '/centos:') }} + - name: 'Install packages (Fedora)' + if: ${{ contains(matrix.container, '/fedora:') }} run: | dnf -y makecache dnf -y distro-sync dnf -y install git-lfs rpm-build dnf-plugins-core + - name: 'Install packages (CentOS)' + if: ${{ contains(matrix.container, '/centos:') }} + run: | + dnf -y makecache + dnf -y distro-sync + dnf -y install git-lfs rpm-build dnf-plugins-core + dnf -y config-manager --set-enabled crb + dnf -y makecache + - uses: actions/checkout@v3 with: fetch-depth: 0