Skip to content

Commit

Permalink
action: fix branding
Browse files Browse the repository at this point in the history
Also ensure that action is validated against the GitHub Action schema.

Signed-off-by: Paul Jolly <[email protected]>
  • Loading branch information
myitcv committed Dec 31, 2021
1 parent 5401b61 commit 143c2fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions action.cue
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
package action

action: {
import "json.schemastore.org/github"

action: github.#Action & {
name: "Setup CUE environment"
icon: "terminal"
description: "Setup a Go environment and add it to the PATH."
inputs: version: {
description: #"The CUE version to setup. Must be a valid semantic version string like "v0.4.0" or "latest""#
required: true
default: "latest"
}
outputs: "cue-path": description: "Path to the cached CUE binary"
branding: color: "blue"
branding: {
icon: "terminal"
color: "blue"
}
runs: {
using: "node12"
main: "dist/index.js"
Expand Down
2 changes: 1 addition & 1 deletion action.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 143c2fe

Please sign in to comment.