From c3d3329c249aad0cc0dbb48e891c3fcdadfb612c Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Sat, 22 Jun 2024 23:01:41 +0300 Subject: [PATCH] Update build-fc40.yml --- .github/workflows/build-fc40.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-fc40.yml b/.github/workflows/build-fc40.yml index af2a2e8..df60e0f 100644 --- a/.github/workflows/build-fc40.yml +++ b/.github/workflows/build-fc40.yml @@ -13,11 +13,14 @@ jobs: steps: - 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 - 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 - 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 uses: actions/upload-artifact@v1.0.0