forked from naveenrajm7/rpmbuild
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
36 lines (29 loc) · 782 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: 'RPM Packaging'
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
arch:
description: 'target architecture'
required: true
default: "x86_64"
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'