-
Notifications
You must be signed in to change notification settings - Fork 10
/
action.yml
52 lines (51 loc) · 1.55 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
# File generated by github.com/posener/goaction. DO NOT EDIT.
name: posener/goaction
description: "Creates action files for Go code"
inputs:
path:
default: .
description: "Path to main Go main package."
required: true
name:
description: "Override action name, the default name is the package name."
required: false
desc:
description: "Override action description, the default description is the package synopsis."
required: false
image:
default: golang:1.14.2-alpine3.11
description: "Override Docker image to run the action with (See https://hub.docker.com/_/golang?tab=tags)."
required: false
install:
description: "Comma separated list of requirements to 'apk add'."
required: false
icon:
description: "Set branding icon. (See options at https://feathericons.com)."
required: false
color:
description: "Set branding color. (white, yellow, blue, green, orange, red, purple or gray-dark)."
required: false
email:
default: posener@gmail.com
description: "Email for commit message."
required: false
GITHUB_TOKEN:
description: "Github token for PR comments. Optional."
required: false
runs:
using: docker
image: Dockerfile
env:
email: "${{ inputs.email }}"
GITHUB_TOKEN: "${{ inputs.GITHUB_TOKEN }}"
args:
- "-path=${{ inputs.path }}"
- "-name=${{ inputs.name }}"
- "-desc=${{ inputs.desc }}"
- "-image=${{ inputs.image }}"
- "-install=${{ inputs.install }}"
- "-icon=${{ inputs.icon }}"
- "-color=${{ inputs.color }}"
branding:
icon: activity
color: blue