/nfpm

Nfpm GitHub Action

Primary LanguageShellMIT LicenseMIT

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/nfpm@v2.3
  id: deb-package
  with:
    config: "custom.yaml"
    packager: "deb"
- name: Create rpm package
  uses: skynet-core/nfpm@v2.3
  id: rpm-package
  with:
    config: "custom.yaml"
    packager: "rpm"