We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5287b5 commit 633f1c9Copy full SHA for 633f1c9
.github/workflows/release.yml
@@ -41,11 +41,19 @@ jobs:
41
run: |
42
go test -v ./... -tags $BUILD_TAGS
43
44
- - id: create_draft_release
45
- name: Create Draft Release
46
- uses: softprops/action-gh-release@v1
+ -
+ name: Import GPG key
+ 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
54
with:
- draft: true
- body: Draft release
55
+ version: latest
56
+ args: release --clean --release-header .goreleaser.tmpl
57
env:
58
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59
+ GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
.github/workflows/release.yml.old
0 commit comments