Skip to content

update goreleaser workflow #2

update goreleaser workflow

update goreleaser workflow #2

Workflow file for this run

name: goreleaser
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: set up Go
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: set up CycloneDX
uses: CycloneDX/gh-gomod-generate-sbom@v2
with:
version: v1
- name: run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.OFFAT_GH_TOKEN }}