-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
76 lines (73 loc) · 1.9 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: "Winget Badge Update"
description: "Fetch and update Winget package version in profile's README dynamically"
author: "Naveen Prashanth @gnpaone"
inputs:
id:
description: "Winget package ID"
required: true
style:
description: "Badge style" # accepted values: flat, flat-square, plastic, for-the-badge, social
default: "flat"
required: false
label:
description: "Left-hand-side text"
default: "Winget package"
required: false
label_color:
description: "Background color of the left part"
default: "gray"
required: false
color:
description: "Background color of the right part"
default: "blue"
required: false
readme_path:
description: "Path of readme file"
default: "./README.md"
required: false
marker_text:
description: "Marker text to replace in readme file"
required: true
pkg_link:
description: "Winget package repo link"
default: ""
required: false
newline:
description: 'Add \n after start marker'
default: "true"
required: false
html:
description: 'Return badge as html instead of markdown text'
default: "false"
required: false
commit_user:
description: "Git username"
default: "winget-badge-bot"
required: false
commit_email:
description: "Git user email"
default: "winget-badge-actions[bot]@github.com"
required: false
commit_message:
description: "Git commit message"
default: "Update readme with latest winget version badge"
required: false
confirm_and_push:
description: "Push commits to Github repo"
default: "true"
required: false
outputs:
winget_ver:
description: "Winget package version"
git_username:
description: "Committer username"
git_email:
description: "Committer email"
commit_message:
description: "Commit message"
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: 'tag'
color: 'purple'