goreleaser-action/action.yml

48 lines
1.4 KiB
YAML
Raw Normal View History

2019-09-20 20:23:45 +00:00
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
2019-09-20 20:31:47 +00:00
name: 'GoReleaser Action'
2019-09-20 20:23:45 +00:00
description: 'GitHub Action for GoReleaser, a release automation tool for Go projects'
author: 'goreleaser'
2019-09-20 20:23:45 +00:00
branding:
color: 'green'
icon: 'package'
inputs:
distribution:
description: 'GoReleaser Distribution (goreleaser or goreleaser-pro)'
default: 'goreleaser'
required: false
2019-09-20 20:23:45 +00:00
version:
2020-06-15 16:35:23 +00:00
description: 'GoReleaser version'
2019-09-20 20:23:45 +00:00
default: 'latest'
2020-05-10 14:19:42 +00:00
required: false
2019-09-20 20:23:45 +00:00
args:
description: 'Arguments to pass to GoReleaser'
required: false
workdir:
description: 'Working directory (below repository root)'
default: '.'
2020-05-10 14:19:42 +00:00
required: false
install-only:
description: 'Just install GoReleaser'
default: 'false'
required: false
github-token:
description: >
Used to verifiy the Git tag exists on goreleaser/goreleaser repo. Since there's a
default, this is typically not supplied by the user. When running this
action on github.com, the default value is sufficient. When running on
GHES, you can pass a personal access token for github.com if you are
experiencing rate limiting.
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
required: false
2019-09-20 20:23:45 +00:00
outputs:
artifacts:
description: 'Build result artifacts'
metadata:
description: 'Build result metadata'
2019-09-20 20:23:45 +00:00
runs:
using: 'node16'
2020-04-09 01:31:03 +00:00
main: 'dist/index.js'