From 65f59acdde54b34566c4788883e5a2044d8afcd1 Mon Sep 17 00:00:00 2001 From: jianlins Date: Wed, 11 Mar 2026 22:05:15 -0600 Subject: [PATCH] workflow: update package manager commands from yum to dnf in Rocky Linux build script --- .github/workflows/custom_build_rockylinux.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/custom_build_rockylinux.yml b/.github/workflows/custom_build_rockylinux.yml index 0d8f34b583..02ef65e514 100644 --- a/.github/workflows/custom_build_rockylinux.yml +++ b/.github/workflows/custom_build_rockylinux.yml @@ -29,9 +29,11 @@ jobs: shell: bash run: | set -euxo pipefail - # yum -y update - yum -y install epel-release - yum -y install \ + # dnf -y update + dnf -y install epel-release + dnf config-manager --set-enabled powertools + dnf config-manager --set-enabled crb + dnf -y install \ git \ cmake \ gcc \ @@ -44,7 +46,7 @@ jobs: findutils \ file \ which - yum clean all + dnf clean all - name: Checkout source at release tag uses: actions/checkout@v4