From d02e09c53e216b006ec73f1d01002a8bf214e44c Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 24 Nov 2024 16:35:10 -0500 Subject: Goreleaser implementation works locally (#9) --- .github/workflows/goreleaser.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.github/workflows/goreleaser.yml') 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 }} -- cgit v1.2.3