-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
54 lines (44 loc) · 1.12 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: 'Generated Badges'
author: 'Kenny Wong'
description: 'Create a badge using GitHub Actions and GitHub Workflow CPU time (no 3rd parties servers).'
inputs:
label:
description: The left label of the badge, usually static.
default: ':label'
required: false
status:
description: The right status as the badge, usually based on results.
default: ':status'
required: false
style:
description: 'Badges style: flat, classic.'
default: classic
required: false
color:
description: An array (comma separated) with hex or named colors of the badge value background.
default: 'blue'
required: false
labelColor:
description: Hex or named color for the label.
default: '555'
required: false
scale:
description: Set badge scale.
default: "1"
required: false
output:
description: Output image path.
default: BADGES.svg
required: false
gradient:
description: Adding a gradient to a badge.
required: false
outputs:
svg:
description: 'svg image string'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'list'
color: 'blue'