vbantxt/.github/workflows/release.yml
Onyx and Iris 4bb79c8500
Some checks failed
Auto-Update Go Modules / update-go-modules (push) Has been cancelled
add update and release actions
2025-02-17 13:13:44 +00:00

32 lines
621 B
YAML

name: goreleaser
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v5
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}