rpm-build/action.yml
Carlos Mogas da Silva aa810b33e8
Some checks failed
Build docker image / build-and-publish (push) Failing after 37s
Initial try on an action to build RPM packages
2024-12-03 18:33:26 +00:00

26 lines
542 B
YAML

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"
outputs:
rpm:
description: "Path to the generated rpm file"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.spec }}
- ${{ inputs.system }}
- ${{ inputs.arch }}