ci: add GoReleaser + CI workflow for cross-platform releases (#5)

This commit is contained in:
Adem Baccara
2025-08-30 21:56:05 +01:00
committed by GitHub
parent 75b0170461
commit 74620c8f59
3 changed files with 88 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
name: release
on:
push:
tags:
- 'v*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.22.x
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: 2.9.0
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}