From 0021b2d237df9902b26e48e5fb74d0a00813375a Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Fri, 10 May 2024 14:16:14 +0200 Subject: [PATCH] GHA: Install dnf5-plugins instead of dnf-plugins-core where dnf5 is installed --- .github/workflows/build-install.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-install.yaml b/.github/workflows/build-install.yaml index 58460c0f..5e9c09d0 100644 --- a/.github/workflows/build-install.yaml +++ b/.github/workflows/build-install.yaml @@ -59,7 +59,9 @@ jobs: run: | dnf -y makecache dnf -y distro-sync - dnf -y install git-lfs rpm-build dnf-plugins-core + dnf -y install git-lfs rpm-build + rpm -q dnf5 >/dev/null || dnf -y install dnf-plugins-core || : + rpm -q dnf5 >/dev/null && dnf -y install dnf5-plugins || : - uses: actions/checkout@v3 with: