Skip to content

Commit

Permalink
Update GoReleaser action to v6 and set version to "~> v2".
Browse files Browse the repository at this point in the history
  • Loading branch information
angelokurtis committed Jul 19, 2024
1 parent 8fc9028 commit e8b7ed5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: goreleaser
on:
push:
tags:
- '*'
- "*"

permissions:
contents: write
Expand All @@ -18,13 +18,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"

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

0 comments on commit e8b7ed5

Please sign in to comment.