Skip to content

chore: Update release workflow #4

chore: Update release workflow

chore: Update release workflow #4

Workflow file for this run

name: Release
on:
push:
tags: ["v*"]
release:
types: [created]
permissions:
contents: write
# packages: write
# issues: write
# id-token: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: ~> v2
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}