Update build-fc40.yml
This commit is contained in:
parent
49cea7658f
commit
cd23182285
12
.github/workflows/build-fc40.yml
vendored
12
.github/workflows/build-fc40.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user