Skip to content

Commit

Permalink
chore: setup releaser workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jigsaw373 committed Apr 14, 2023
1 parent 9dd7c3f commit d346816
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
tags:
- v*

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-go@v3
with:
go-version: '1.20.3'

- name: Run goreleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --clean --config .goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d346816

Please sign in to comment.