1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-04 03:11:55 +02:00

docs: update github action

refs https://github.com/goreleaser/goreleaser-action/issues/453

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2024-03-25 09:58:18 -03:00
parent 1fdf2017c2
commit 5256f063d0
No known key found for this signature in database

View File

@ -47,6 +47,7 @@ jobs:
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
# 'latest', 'nightly', or a semver
version: latest
args: release --clean
env:
@ -133,7 +134,7 @@ signs:
Following inputs can be used as `step.with` keys
| Name | Type | Default | Description |
|----------------|--------|--------------|------------------------------------------------------------------|
| -------------- | ------ | ------------ | ---------------------------------------------------------------- |
| `distribution` | String | `goreleaser` | GoReleaser distribution, either `goreleaser` or `goreleaser-pro` |
| `version`[^1] | String | `latest` | GoReleaser version |
| `args` | String | | Arguments to pass to GoReleaser |
@ -149,7 +150,7 @@ Following inputs can be used as `step.with` keys
Following outputs are available
| Name | Type | Description |
|-------------|------|------------------------|
| ----------- | ---- | ---------------------- |
| `artifacts` | JSON | Build result artifacts |
| `metadata` | JSON | Build result metadata |
@ -158,7 +159,7 @@ Following outputs are available
Following environment variables can be used as `step.env` keys
| Name | Description |
|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `GITHUB_TOKEN` | [GITHUB_TOKEN](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token) as provided by `secrets` |
| `GORELEASER_KEY` | Your [GoReleaser Pro](https://goreleaser.com/pro) License Key, in case you are using the `goreleaser-pro` distribution |