rpm-build/action.yml

31 lines
637 B
YAML
Raw Normal View History

name: "RPM Build"
description: "Builds RPMs for a target system from a spec file"
inputs:
spec:
description: "Path to the spec file"
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"
2024-12-04 13:15:16 +00:00
nocheck:
description: "Don't run %check commands"
required: false
default: false
outputs:
rpm:
description: "Path to the generated rpm file"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.spec }}
- ${{ inputs.system }}
- ${{ inputs.arch }}