Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
box

GitHub Action

Build an RPM

1.0.0

Build an RPM

box

Build an RPM

Build an RPM on different distributions

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Build an RPM

uses: robertdebock/rpmbuild-action@1.0.0

Learn more about this action in robertdebock/rpmbuild-action

Choose a version

RPMbuild action

A GitHub action to build an RPM.

Requirements

This action expects the following structure:

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

Example usage

.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.0.0