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