This GitHub Action downloads and installs the nFPM CLI so that you can use it with your workflows.
Basic:
steps:
- uses: actions/checkout@v2
- uses: secondlife/setup-nfpm@v1
with:
version: 2.10.0 # Optional version
- run: |
nfpm pkg --packager deb --target dist/
For additional information on how to use nFPM see https://nfpm.goreleaser.com/