Skip to content

Commit d936688

Browse files
Release workflow: Replace deprecated things (#1615)
- hashicorp/paultyng action is deprecated: https://github.com/hashicorp/ghaction-import-gpg - Deprecated goreleaser features. See the build logs here: https://github.com/grafana/terraform-provider-grafana/actions/runs/9387165736/job/25849806601
1 parent 34b6381 commit d936688

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This GitHub action can publish assets for release when a tag is created.
22
# Currently its setup to run on any tag that matches the pattern "v*" (ie. v0.1.0).
33
#
4-
# This uses an action (paultyng/ghaction-import-gpg) that assumes you set your
4+
# This uses an action (crazy-max/ghaction-import-gpg) that assumes you set your
55
# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
66
# secret. If you would rather own your own GPG handling, please fork this action
77
# or use an alternative one for key handling.
@@ -33,15 +33,15 @@ jobs:
3333
go-version: '1.21'
3434
- name: Import GPG key
3535
id: import_gpg
36-
uses: paultyng/ghaction-import-gpg@v2.1.0
36+
uses: crazy-max/ghaction-import-@v6.1.0
3737
env:
3838
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
3939
PASSPHRASE: ${{ secrets.PASSPHRASE }}
4040
- name: Run GoReleaser
4141
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ release:
7474
# If you want to manually examine the release before it's live, uncomment this line:
7575
draft: true
7676
changelog:
77-
skip: true
77+
disable: true

0 commit comments

Comments
 (0)