Skip to content

Commit 4f47e68

Browse files
committed
chore: Export signing key in goreleaser-publish workflow
1 parent 95a3146 commit 4f47e68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/goreleaser-publish.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v4
1919

20+
- name: Export signing key
21+
run: 'echo "${{ secrets.PKG_SIGNING_KEY }}" | base64 --decode > /tmp/signing-key.gpg'
22+
2023
- name: Run GoReleaser
2124
uses: goreleaser/goreleaser-action@v4
2225
with:
2326
version: latest
2427
args: release --clean
2528
env:
2629
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
BUILD_USER: ${{ github.actor }} (via Github Actions)

0 commit comments

Comments
 (0)