diff --git a/.github/workflows/build-fc40.yml b/.github/workflows/build-fc40.yml index 7791ab6..7659c9e 100644 --- a/.github/workflows/build-fc40.yml +++ b/.github/workflows/build-fc40.yml @@ -13,14 +13,14 @@ jobs: steps: - uses: actions/checkout@v2 - - name: build RPM package - id: rpm - uses: naveenrajm7/rpmbuild@master - with: - spec_file: "fedora-kernel-manager.spec" + - name: Get RPM Spec BuildDepends + run: dnf builddep fedora-kernel-manager.spec" + + - name: Build RPM package + run: rpmbuild -bb fedora-kernel-manager.spec --define "_rpmdir $(pwd)/packages - name: Upload artifact uses: actions/upload-artifact@v1.0.0 with: name: Binary RPM - path: ${{ steps.rpm.outputs.rpm_dir_path }} + path: packages/*.rpm