Skip to content

Add GoReleaser workflow #1

Add GoReleaser workflow

Add GoReleaser workflow #1

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
tag:
description: 'New tag name'
required: true
pull_request:
permissions:
contents: read
jobs:
goreleaser:
name: GoReleaser
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Tag
run: git tag v0.0.1-dev
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: '~> v2'
args: release --clean