Skip to content

ci: Add release

ci: Add release #8

Workflow file for this run

name: Build and Release
on:
push:
tags:
- 'v*'
jobs:
goreleaser:
name: Build and Release
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --snapshot --timeout 10m
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}