mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-07 13:31:37 +02:00
docs: unshallow action (#1610)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
3e9fdf3705
commit
54d1ca1d6d
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -15,9 +15,8 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Unshallow
|
||||
run: git fetch --prune --unshallow
|
||||
with:
|
||||
fetch-depth: 0
|
||||
-
|
||||
name: Set up Snapcraft
|
||||
run: |
|
||||
|
@ -28,9 +28,8 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Unshallow
|
||||
run: git fetch --prune --unshallow
|
||||
with:
|
||||
fetch-depth: 0
|
||||
-
|
||||
name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
@ -47,7 +46,7 @@ jobs:
|
||||
```
|
||||
|
||||
!!! info
|
||||
Note the `Unshallow` workflow step. It is required for the changelog to work correctly.
|
||||
Note the `fetch-depth: 0` option on the `Checkout` workflow step. It is required for the change log to work correctly.
|
||||
|
||||
### Run on new tag
|
||||
|
||||
@ -111,7 +110,7 @@ signs:
|
||||
|
||||
## Customizing
|
||||
|
||||
### inputs
|
||||
### Inputs
|
||||
|
||||
Following inputs can be used as `step.with` keys
|
||||
|
||||
@ -121,7 +120,7 @@ Following inputs can be used as `step.with` keys
|
||||
| `args` | String | | Arguments to pass to GoReleaser |
|
||||
| `workdir` | String | `.` | Working directory (below repository root) |
|
||||
|
||||
### environment variables
|
||||
### Environment Variables
|
||||
|
||||
Following environment variables can be used as `step.env` keys
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user