Skip to content

Commit dea1401

Browse files
committed
chore: bump goreleaser actions
1 parent 59a36ae commit dea1401

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ jobs:
3232
-
3333
name: Import GPG key
3434
id: import_gpg
35-
uses: paultyng/ghaction-import-gpg@v2.1.0
36-
env:
37-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
38-
PASSPHRASE: ${{ secrets.PASSPHRASE }}
35+
uses: crazy-max/ghaction-import-gpg@v6.1.0
36+
with:
37+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
38+
passphrase: ${{ secrets.PASSPHRASE }}
3939
-
4040
name: Run GoReleaser
41-
uses: goreleaser/goreleaser-action@v2
41+
uses: goreleaser/goreleaser-action@v6
4242
with:
4343
version: latest
44-
args: release --rm-dist
44+
args: release --clean
4545
env:
4646
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Visit https://goreleaser.com for documentation on how to customize this
22
# behavior.
3+
version: 2
34
before:
45
hooks:
56
# this is just an example and not a requirement for provider building/publishing
@@ -47,8 +48,8 @@ signs:
4748
- "${signature}"
4849
- "--detach-sign"
4950
- "${artifact}"
50-
release:
51-
# Visit your project's GitHub Releases page to publish this release.
52-
#draft: true
51+
release: {}
52+
# If you want to manually examine the release before its live, uncomment this line:
53+
# draft: true
5354
changelog:
54-
skip: true
55+
disable: true

0 commit comments

Comments
 (0)