Debian Codegraph @

.github/workflows/release.yml

raw
1 name: goreleaser
2
3 on:
4 push:
5 tags: ['v*']
6
7 permissions:
8 contents: write
9
10 jobs:
11 release:
12 runs-on: ubuntu-latest
13 steps:
14 - uses: actions/checkout@v4
15 with:
16 fetch-depth: 0
17 - uses: actions/setup-go@v5
18 with:
19 go-version: 1.19
20 cache: true
21 - uses: goreleaser/goreleaser-action@v6
22 with:
23 version: latest
24 args: release --rm-dist
25 env:
26 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27