Skip to content

Build an RPM with just a .spec file and a few parameters.

Notifications You must be signed in to change notification settings

infraoptics/rpmbuild-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/[email protected]

About

Build an RPM with just a .spec file and a few parameters.

Resources

Stars

Watchers

Forks

Packages

No packages published