Skip to content

Add GoReleaser settings (binary) #6

Add GoReleaser settings (binary)

Add GoReleaser settings (binary) #6

Workflow file for this run

name: release
on:
pull_request:
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 }}