Skip to content

Commit

Permalink
Only run releaser on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
iandees authored Nov 16, 2024
1 parent 73815fe commit 1fcfbc0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
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 @@ -11,16 +12,15 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go

- name: Set up Go
uses: actions/setup-go@v5
-
name: Run GoReleaser

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
Expand Down

0 comments on commit 1fcfbc0

Please sign in to comment.