Skip to content

Commit

Permalink
GHA: Enable 'crb' repo on CentOS to have python3-sphinx available
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Nov 20, 2023
1 parent b1d37f6 commit c67e487
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c67e487

Please sign in to comment.