Skip to content

Commit 206cf40

Browse files
committed
fix goreleaser workflow
1 parent 28909b7 commit 206cf40

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,19 @@ jobs:
1212
-
1313
name: Checkout
1414
uses: actions/checkout@v3
15-
-
16-
name: Unshallow
17-
run: git fetch --prune --unshallow
15+
with:
16+
fetch-depth: 0
1817
-
1918
name: Set up Go
20-
uses: actions/setup-go@v3
19+
uses: actions/setup-go@v4
2120
with:
2221
go-version: 1.20
2322
-
2423
name: Run GoReleaser
2524
uses: goreleaser/goreleaser-action@v4
2625
with:
26+
distribution: goreleaser
2727
version: latest
28-
args: release --rm-dist
29-
key: ${{ secrets.YOUR_PRIVATE_KEY }}
28+
args: release --clean
3029
env:
3130
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)