goreleaser-action/action.yml
Carlos Alexandro Becker f1dbd532c3
feat: lock this major version of the action to use '~> v1' as 'latest' (#461)
* feat: warn about using 'latest'

* feat: use "~> v1" as latest

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* feat: default to "~> v1" instead of "latest"

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-05-10 13:30:10 -03:00

38 lines
942 B
YAML

# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'GoReleaser Action'
description: 'GitHub Action for GoReleaser, a release automation tool for Go projects'
author: 'goreleaser'
branding:
color: 'green'
icon: 'package'
inputs:
distribution:
description: 'GoReleaser Distribution (goreleaser or goreleaser-pro)'
default: 'goreleaser'
required: false
version:
description: 'GoReleaser version'
default: '~> v1'
required: false
args:
description: 'Arguments to pass to GoReleaser'
required: false
workdir:
description: 'Working directory (below repository root)'
default: '.'
required: false
install-only:
description: 'Just install GoReleaser'
default: 'false'
required: false
outputs:
artifacts:
description: 'Build result artifacts'
metadata:
description: 'Build result metadata'
runs:
using: 'node20'
main: 'dist/index.js'