Skip to content

build: add goreleaser action for streamlined releases #1

build: add goreleaser action for streamlined releases

build: add goreleaser action for streamlined releases #1

Workflow file for this run

---
name: release
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
- uses: actions/setup-go@v4
with:
go-version: 1.22
- name: Create GitHub release
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
# doesn't matter because we're only triggering on tags
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}