Skip to content
box

GitHub Action

NFPM packager action

v1.4 Latest version

NFPM packager action

box

NFPM packager action

NFPM packaging tool for deb and rpm packaging

Installation

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

              

- name: NFPM packager action

uses: skynet-core/[email protected]

Learn more about this action in skynet-core/nfpm

Choose a version

nfpm

build last commit last release

nfpm tool packaged for using as GitHub Action.

Inputs

config

Optional Nfpm config path. Default is nfpm.yaml

packager

Required Packager to use. rpm or deb

target

Optional Output package name. Default is generic name based on config

Example usage

- name: Create deb package
  uses: skynet-core/[email protected]
  id: deb-package
  with:
    config: "custom.yaml"
    packager: "deb"
- name: Create rpm package
  uses: skynet-core/[email protected]
  id: rpm-package
  with:
    config: "custom.yaml"
    packager: "rpm"