workflow: update package manager commands from yum to dnf in Rocky Linux build script

This commit is contained in:
jianlins 2026-03-11 22:05:15 -06:00
parent ddb3fcd924
commit 65f59acdde
1 changed files with 6 additions and 4 deletions

View File

@ -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