Skip to content

chore: create goreleaser configuration file #2

chore: create goreleaser configuration file

chore: create goreleaser configuration file #2

Workflow file for this run

name: release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.2
- name: Create release
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: v2.1.0
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}