Skip to content

Fix the release action pipeline (#271) #22

Fix the release action pipeline (#271)

Fix the release action pipeline (#271) #22

Workflow file for this run

name: Crash Diagnostics Release
on:
push:
tags:
- 'v*.*.**'
jobs:
go-release:
name: goreleaser-release
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.1
-
name: gofmt-check
run: GO111MODULE=on go run .ci/prebuild/gofmt_check.go
-
name: Binary release
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}