Skip to content

Merge pull request #94 from kanmu/update_goreleaser #10

Merge pull request #94 from kanmu/update_goreleaser

Merge pull request #94 from kanmu/update_goreleaser #10

Workflow file for this run

name: goreleaser
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: 244816
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
owner: kanmu
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}