Update build-fc40.yml

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-06-22 23:12:57 +03:00 committed by GitHub
parent 67cd1e0461
commit 27b0f42c5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,12 +13,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup RPM Source
run: mkdir -p ./SOURCES && tar -pczf ./SOURCES/fedora-kernel-manager.tar.gz . --exclude="./SOURCES/fedora-kernel-manager.tar.gz"
- name: Get RPM Spec BuildRequires
run: dnf install wget cpio mock tar pykickstart fedpkg libvirt fedora-packager rpmdevtools 'dnf-command(builddep)' -y && dnf builddep fedora-kernel-manager.spec -y
- name: Setup RPM Source
run: mkdir -p ./SOURCES && tar -czf ./SOURCES/fedora-kernel-manager.tar.gz . --exclude=./SOURCES/fedora-kernel-manager.tar.gz
- name: Build RPM package
run: rpmbuild -bb fedora-kernel-manager.spec --define "_rpmdir $(pwd)/packages" --define "_topdir $(pwd)/"