Skip to content

Commit 55d3a01

Browse files
authored
Add GitHub Actions workflow for release process
1 parent de26889 commit 55d3a01

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
- uses: actions/setup-go@v5
16+
with:
17+
go-version-file: go.mod
18+
- uses: goreleaser/goreleaser-action@v6
19+
with:
20+
version: latest
21+
args: release --clean
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)