fix(ci): bootstrap use dnf5

Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
madomado
2023-08-16 18:40:09 +08:00
committed by GitHub
parent 0fdbf820e9
commit bd9d8fa75a
+3 -3
View File
@@ -16,7 +16,7 @@ jobs:
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Install repositories
run: dnf install -y mock createrepo_c rpm-build gcc curl wget git-core openssl-devel dnf5
run: dnf5 install -y mock createrepo_c rpm-build gcc curl wget git-core openssl-devel
- uses: actions/setup-go@v3
with:
@@ -41,7 +41,7 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
anda build -c fedora-${{ matrix.version }}-${{ matrix.arch }} anda/mock-configs/pkg -p rpm
- name: Install terra-mock-configs
run: sudo dnf5 install -y anda-build/rpm/rpms/terra-mock-configs*.rpm
run: dnf5 install -y anda-build/rpm/rpms/terra-mock-configs*.rpm
- uses: actions/checkout@v3
@@ -55,7 +55,7 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
anda build -c terra-${{ matrix.version }}-${{ matrix.arch }} subatomic -p rpm -D "autogitcommit $(git log -1 --format='%H')"
- name: Install Subatomic
run: sudo dnf5 install -y ./anda-build/rpm/rpms/subatomic-*.rpm
run: dnf5 install -y ./anda-build/rpm/rpms/subatomic-*.rpm
- uses: actions/checkout@v3