Skip to content

Commit

Permalink
Add release GitHub Action
Browse files Browse the repository at this point in the history
Add GitHub Action for releasing tool.
  • Loading branch information
HeavyWombat committed Aug 26, 2024
1 parent f275036 commit 20b8a9d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Release
on:
push:
tags:
- "v*"

jobs:
goreleaser:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

0 comments on commit 20b8a9d

Please sign in to comment.