Skip to content

Commit 06419aa

Browse files
committed
fix releaser action
1 parent c215566 commit 06419aa

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/release.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,28 @@ on:
33
push:
44
tags:
55
- "*" # triggers only if push new tag version, like `0.8.4` or else
6+
7+
permissions:
8+
contents: write
9+
610
jobs:
7-
build:
8-
name: GoReleaser build
11+
goreleaser:
912
runs-on: ubuntu-latest
1013
steps:
11-
- name: Check out code into the Go module directory
14+
-
15+
name: Checkout
1216
uses: actions/checkout@v4
1317
with:
14-
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/
15-
- name: Set up Go
18+
fetch-depth: 0
19+
-
20+
name: Set up Go
1621
uses: actions/setup-go@v4
1722
with:
1823
go-version: 1.21
19-
id: go
20-
- name: Run GoReleaser
24+
-
25+
name: Run GoReleaser
2126
uses: goreleaser/goreleaser-action@v5
27+
2228
with:
2329
workdir: ./cmd/templit
2430
distribution: goreleaser

0 commit comments

Comments
 (0)