Commit 633f1c9 1 parent f5287b5 commit 633f1c9 Copy full SHA for 633f1c9
File tree 2 files changed +13
-64
lines changed
2 files changed +13
-64
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,19 @@ jobs:
41
41
run : |
42
42
go test -v ./... -tags $BUILD_TAGS
43
43
44
- - id : create_draft_release
45
- name : Create Draft Release
46
- uses : softprops/action-gh-release@v1
44
+ -
45
+ name : Import GPG key
46
+ id : import_gpg
47
+ uses : crazy-max/ghaction-import-gpg@v2
48
+ env :
49
+ GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
50
+ PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
51
+ -
52
+ name : Run GoReleaser
53
+ uses : goreleaser/goreleaser-action@v2
47
54
with :
48
- draft : true
49
- body : Draft release
55
+ version : latest
56
+ args : release --clean -- release-header .goreleaser.tmpl
50
57
env :
51
58
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59
+ GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments