From 1fcfbc06b6b3ec2464f74275c367c141815ee399 Mon Sep 17 00:00:00 2001 From: Ian Dees Date: Sat, 16 Nov 2024 10:32:34 -0600 Subject: [PATCH] Only run releaser on tags --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5408ed6..154d0ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,9 @@ name: goreleaser on: - pull_request: push: + tags: + - '*' permissions: contents: write @@ -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