Skip to content

Commit

Permalink
fix goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudcarver committed Aug 15, 2024
1 parent 33f48cb commit 4c37125
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/checkout@v4
with:
# Allow goreleaser to access older tag information.
fetch-depth: 0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
Expand All @@ -32,8 +32,9 @@ jobs:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
uses: goreleaser/goreleaser-action@v6
with:
version: '~> v2'
args: release --clean
env:
# GitHub sets the GITHUB_TOKEN secret automatically.
Expand Down

0 comments on commit 4c37125

Please sign in to comment.