Update and rename build-fc40.yml to build-fc40-x86_64.yml

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-06-23 00:23:31 +03:00 committed by GitHub
parent 7d14c1c6f9
commit 9d6fac27fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
name: RPM Build (Fedora 40)
name: RPM Build (Fedora 40 - x86-64)
on: workflow_dispatch
jobs:
@ -16,20 +16,14 @@ jobs:
- name: Setup RPM Source
run: mkdir -p ./SOURCES && tar -pczf ./SOURCES/fedora-kernel-manager.tar.gz --exclude="../$(basename "$PWD")/SOURCES/fedora-kernel-manager.tar.gz" ../$(basename "$PWD")
- name: Debuuuuuuug0
run: dnf install tree -y
- name: Get RPM Spec BuildRequires
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)/"
- name: Debuuuuuuug1
run: rm -rf ./target && tree
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
with:
name: Binary RPM
path: packages/*.rpm
path: packages/x86_64/*.rpm