Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
feat: add goreleaser action
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Feb 18, 2024
1 parent 8919860 commit e85e2b7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
File renamed without changes.
29 changes: 29 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: goreleaser

on:
pull_request:
push:
workflow_dispatch:

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean --debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e85e2b7

Please sign in to comment.