Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 982 Bytes

README.md

File metadata and controls

49 lines (35 loc) · 982 Bytes

RPMbuild action

A GitHub action to build an RPM.

Inputs

distribution

The distribution to run on. Currently supported:

Requirements

This action expects the following structure:

.
├── README.md
├── SOURCES
│   └── my-1.0.0.tar.gz
└── SPECS
    └── my.spec

Example usage

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