Skip to content

Commit c40663d

Browse files
committed
fix release action
1 parent 3ab483c commit c40663d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
with:
3131
go-version: ${{ needs.go-version.outputs.version }}
3232
- name: Import GPG key
33-
id: import_gpg
34-
uses: hashicorp/ghaction-import-gpg@v2.1.0
33+
run: |
34+
echo -n "$GPG_KEY" | gpg --import
3535
env:
36-
GPG_PRIVATE_KEY: ${{ secrets.RELEASE_BOT_GPG_KEY }}
36+
GPG_KEY: ${{ secrets.RELEASE_BOT_GPG_KEY }}
3737
- name: goreleaser release
3838
uses: goreleaser/goreleaser-action@v2
3939
with:

0 commit comments

Comments
 (0)