We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c215566 commit 06419aaCopy full SHA for 06419aa
.github/workflows/release.yml
@@ -3,22 +3,28 @@ on:
3
push:
4
tags:
5
- "*" # triggers only if push new tag version, like `0.8.4` or else
6
+
7
+permissions:
8
+ contents: write
9
10
jobs:
- build:
- name: GoReleaser build
11
+ goreleaser:
12
runs-on: ubuntu-latest
13
steps:
- - name: Check out code into the Go module directory
14
+ -
15
+ name: Checkout
16
uses: actions/checkout@v4
17
with:
- fetch-depth: 0 # See: https://goreleaser.com/ci/actions/
- - name: Set up Go
18
+ fetch-depth: 0
19
20
+ name: Set up Go
21
uses: actions/setup-go@v4
22
23
go-version: 1.21
- id: go
- - name: Run GoReleaser
24
25
+ name: Run GoReleaser
26
uses: goreleaser/goreleaser-action@v5
27
28
29
workdir: ./cmd/templit
30
distribution: goreleaser
0 commit comments