Skip to content

Merge pull request #69 from ymtdzzz/chore/release_with_goreleaser #8

Merge pull request #69 from ymtdzzz/chore/release_with_goreleaser

Merge pull request #69 from ymtdzzz/chore/release_with_goreleaser #8

Workflow file for this run

name: release
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- uses: goreleaser/goreleaser-action@v6
with:
version: '~> v1'
distribution: goreleaser
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}