summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-24 16:35:10 -0500
committerGitHub <noreply@github.com>2024-11-24 16:35:10 -0500
commitd02e09c53e216b006ec73f1d01002a8bf214e44c (patch)
treeb3f39a80236d1a9884055dbba934dfe8655c2778 /.github
parent2b5e7c4102b2d54cd2e5fe7471ec11613edf6a21 (diff)
Goreleaser implementation works locally (#9)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/goreleaser.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml
index 9efe9a3..a3730c1 100644
--- a/.github/workflows/goreleaser.yml
+++ b/.github/workflows/goreleaser.yml
@@ -1,8 +1,8 @@
---
name: goreleaser
on:
- pull_request:
push:
+ tags: ['*'] # Run against any tag
permissions:
contents: write
jobs:
@@ -15,13 +15,13 @@ jobs:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
+ with:
+ go-version: stable
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
- version: latest
+ version: ~> v1
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
- # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}