Skip to content

Merge pull request #22 from patrickcping/correct-flow-json-descriptio… #12

Merge pull request #22 from patrickcping/correct-flow-json-descriptio…

Merge pull request #22 from patrickcping/correct-flow-json-descriptio… #12

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions: write-all
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6.1.0
with:
version: "~> v2"
args: release --clean
distribution: goreleaser
env:
# GitHub sets this automatically
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}