pika-kernel-manager/.github/workflows/build-fc40.yml
Ward Nakchbandi (Cosmic Fusion) f35d1a709f
Update build-fc40.yml
2024-06-22 22:24:52 +03:00

27 lines
635 B
YAML

name: RPM Build (Fedora 40)
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
container:
image: fedora:40
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v2
- name: Get RPM Spec BuildRequires
run: dnf install '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"
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
with:
name: Binary RPM
path: packages/*.rpm