CI: Fix dnf
This commit is contained in:
parent
8805a21567
commit
53a5603f64
|
@ -166,12 +166,17 @@ jobs:
|
||||||
image: fedora:${{matrix.fedora_version}}
|
image: fedora:${{matrix.fedora_version}}
|
||||||
steps:
|
steps:
|
||||||
- name: Update repositories
|
- name: Update repositories
|
||||||
run: dnf update -y
|
run: dnf -y update
|
||||||
|
- name: Fix dnf
|
||||||
|
run: |
|
||||||
|
if [ -f "/usr/bin/dnf5" ] && ! [ -f "/usr/bin/dnf" ]; then
|
||||||
|
ln -s /usr/bin/dnf5 /usr/bin/dnf
|
||||||
|
fi
|
||||||
- name: Upgrade packages
|
- name: Upgrade packages
|
||||||
run: dnf upgrade -y
|
run: dnf -y upgrade
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: >
|
run: >
|
||||||
dnf install -y
|
dnf -y install
|
||||||
@development-tools
|
@development-tools
|
||||||
redhat-lsb-core
|
redhat-lsb-core
|
||||||
which
|
which
|
||||||
|
|
Loading…
Reference in New Issue