mirror of
https://github.com/naveenrajm7/rpmbuild.git
synced 2025-07-12 04:13:50 +00:00
added branding and output
This commit is contained in:
22
action.yml
22
action.yml
@ -1,13 +1,29 @@
|
|||||||
name: 'rpmbuild'
|
name: 'rpmbuild'
|
||||||
description: 'Build RPM from spec file and source code'
|
description: 'Build RPMs from spec file and upload it as Artifact or Release Asset'
|
||||||
author: 'Naveenraj M'
|
author: 'Naveenraj M'
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
spec_file:
|
spec_file:
|
||||||
description: 'path to the spec file'
|
description: 'path to the spec file'
|
||||||
required: true
|
required: true
|
||||||
default: '*.spec'
|
default: '*.spec' #Any spec file in top
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
source_rpm_path:
|
||||||
|
description: 'path to Source RPM file'
|
||||||
|
source_rpm_dir_path:
|
||||||
|
description: 'path to Source RPM directory'
|
||||||
|
source_rpm_name:
|
||||||
|
description: 'name of Source RPM file'
|
||||||
|
rpm_content_type:
|
||||||
|
description: 'Content-type for Upload'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Dockerfile'
|
||||||
|
|
||||||
|
branding:
|
||||||
|
icon: 'package'
|
||||||
|
color: 'red'
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user