Debian Codegraph @

.github/workflows/release.yaml

raw
1
2 name: Release
3
4 on:
5 push:
6 tags:
7 - '*'
8
9 permissions:
10 contents: write
11
12 jobs:
13 release:
14 runs-on: ubuntu-latest
15 timeout-minutes: 30
16 steps:
17 - uses: actions/checkout@v6
18 with:
19 fetch-depth: 0
20 - uses: actions/setup-go@v6
21 with:
22 go-version-file: go.mod
23
24 - uses: goreleaser/goreleaser-action@v7
25 with:
26 distribution: goreleaser
27 version: '~> v2'
28 args: release --clean
29 env:
30 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}