rpm-build/action.yml
Carlos Mogas da Silva 03a51ae47d
All checks were successful
Build docker image / build-and-publish (push) Successful in 5m38s
fix output name
2024-12-07 22:30:19 +00:00

30 lines
641 B
YAML

name: "RPM Build"
description: "Builds RPMs for a target system from a spec file"
inputs:
specs:
description: "Paths to the spec files"
required: true
system:
description: "System target to build the package"
required: true
arch:
description: "Target arch to build the package"
required: true
default: "x86_64"
nocheck:
description: "Don't run %check commands"
required: false
default: false
outputs:
rpms:
description: "Path to the generated rpm file"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.spec }}
- ${{ inputs.system }}
- ${{ inputs.arch }}