Files
rpmbuild/action.yml
Cyrille Bollu 95f2400e99 Supports new user input: 'additional_repos'
Allows the user to specify additional repositories to enable before building the rpm

Signed-off-by: Cyrille Bollu <cyrille@debian-BULLSEYE-live-builder-AMD64>
2022-11-10 11:22:28 +01:00

35 lines
792 B
YAML

name: 'RPM Build'
description: 'Build RPMs from spec file and upload it as Artifact or Release Asset'
author: 'Naveenraj M'
inputs:
spec_file:
description: 'path to the spec file'
required: true
default: '*.spec' #Any spec file in top
additional_repos:
description: 'A list of additional repositories to enable'
required: false
outputs:
source_rpm_path:
description: 'path to Source RPM file'
source_rpm_dir_path:
description: 'path to SRPMS directory'
source_rpm_name:
description: 'name of Source RPM file'
rpm_dir_path:
description: 'path to RPMS directory'
rpm_content_type:
description: 'Content-type for Upload'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'package'
color: 'red'