forked from jaywcjlove/coverage-badges-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (29 loc) · 799 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
name: 'Create Coverage Badges'
author: 'Kenny Wong'
description: 'Create coverage badges from coverage reports. Using GitHub Actions and GitHub Workflow CPU time (no 3rd parties servers).'
inputs:
source:
description: The path of the target file "coverage-summary.json".
default: coverage/coverage-summary.json
required: false
output:
description: Output image path.
default: coverage/badges.svg
required: false
label:
description: The left label of the badge, usually static.
default: coverage
required: false
style:
description: 'Badges style: flat, classic.'
default: classic
required: false
outputs:
svg:
description: 'svg image string'
runs:
using: 'node16'
main: 'dist/action.js'
branding:
icon: 'list'
color: 'blue'