Skip to content

Commit 143c2fe

Browse files
committed
action: fix branding
Also ensure that action is validated against the GitHub Action schema. Signed-off-by: Paul Jolly <[email protected]>
1 parent 5401b61 commit 143c2fe

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

action.cue

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
package action
22

3-
action: {
3+
import "json.schemastore.org/github"
4+
5+
action: github.#Action & {
46
name: "Setup CUE environment"
5-
icon: "terminal"
67
description: "Setup a Go environment and add it to the PATH."
78
inputs: version: {
89
description: #"The CUE version to setup. Must be a valid semantic version string like "v0.4.0" or "latest""#
910
required: true
1011
default: "latest"
1112
}
1213
outputs: "cue-path": description: "Path to the cached CUE binary"
13-
branding: color: "blue"
14+
branding: {
15+
icon: "terminal"
16+
color: "blue"
17+
}
1418
runs: {
1519
using: "node12"
1620
main: "dist/index.js"

action.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)