A GitHub action to build an RPM.
The distribution to run on. Currently supported:
This action expects the following structure:
.
├── README.md
├── SOURCES
│ └── my-1.0.0.tar.gz
└── SPECS
└── my.spec
A full example can be found in this my_rpm example.
.github/workflows/rpmbuild.yml
:
---
name: Build RPM
on:
- push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: rpmbuild
uses: robertdebock/rpmbuild-action@1.1.1