Skip to content

Merge pull request #1 from takaishi/tagpr-from-v0.0.1 #2

Merge pull request #1 from takaishi/tagpr-from-v0.0.1

Merge pull request #1 from takaishi/tagpr-from-v0.0.1 #2

Workflow file for this run

name: goreleaser
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch all tags
run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.3
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}