Update build-fc40.yml

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-06-22 23:01:41 +03:00 committed by GitHub
parent 160e85922f
commit c3d3329c24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,11 +13,14 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup RPM Source
run: tar -czf ./SOURCES/fedora-kernel-manager.tar.gz . --exclude=./SOURCES/fedora-kernel-manager.tar.gz
- name: Get RPM Spec BuildRequires - name: Get RPM Spec BuildRequires
run: dnf install wget cpio mock pykickstart fedpkg libvirt fedora-packager rpmdevtools 'dnf-command(builddep)' -y && dnf builddep fedora-kernel-manager.spec -y 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: Build RPM package - name: Build RPM package
run: rpmbuild -bb fedora-kernel-manager.spec --define "_rpmdir $(pwd)/packages" --define "_topdir $(pwd)/" --undefine=_disable_source_fetch run: rpmbuild -bb fedora-kernel-manager.spec --define "_rpmdir $(pwd)/packages" --define "_topdir $(pwd)/"
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v1.0.0 uses: actions/upload-artifact@v1.0.0