Skip to content

Commit

Permalink
Move RPM build to new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tangalbert919 committed Feb 25, 2025
1 parent 4337b69 commit c8f1ea2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/release-driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,3 @@ jobs:
files: |
sum.txt
driver.tar.gz
generate-rpm:
name: Generate RPM
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate RPM package
id: rpmbuild
uses: naveenrajm7/rpmbuild@master
with:
spec_file: pkg-files/aorus-laptop-kmod.spec
- name: Upload RPM package
uses: actions/upload-artifact@v4
with:
name: aorus-laptop-kmod
path: ${{ steps.rpmbuild.outputs.rpm_dir_path }}
21 changes: 21 additions & 0 deletions .github/workflows/test-rpm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test RPM
on: push

jobs:

generate-rpm:
name: Generate RPM
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate RPM package
id: rpmbuild
uses: naveenrajm7/rpmbuild@master
with:
spec_file: pkg-files/aorus-laptop-kmod.spec
- name: Upload RPM package
uses: actions/upload-artifact@v4
with:
name: aorus-laptop-kmod
path: ${{ steps.rpmbuild.outputs.rpm_dir_path }}

0 comments on commit c8f1ea2

Please sign in to comment.