Skip to content

Commit

Permalink
add release wf
Browse files Browse the repository at this point in the history
  • Loading branch information
umi-ushi committed Feb 20, 2024
1 parent 180a1a0 commit 9da00c5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release
on:
push:
tags:
- 'v*'

jobs:
release:
name: Release
runs-on: unbuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
width:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.6'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9da00c5

Please sign in to comment.