Skip to content

Commit

Permalink
chore: fix release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
taga3s committed Jun 1, 2024
1 parent 655d9f3 commit 7856a25
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: goreleaser

on:
pull_request:
push:
tags:
- "*"

permissions:
contents: write
Expand All @@ -18,12 +19,13 @@ jobs:

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: true

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: "~> v1"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7856a25

Please sign in to comment.