Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit e29e0cc

Browse files
author
Alex Kalyvitis
committed
add step to import gpg key
1 parent a50a5a5 commit e29e0cc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121

2222
- name: Determine version
2323
run: echo ::set-env name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
24+
25+
- name: Import GPG key
26+
id: gpg
27+
uses: crazy-max/ghaction-import-gpg@v2
28+
env:
29+
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
2430

2531
- name: Create release notes
2632
run: scripts/release-notes.sh ${{ env.VERSION }} > release-notes.md
@@ -31,4 +37,5 @@ jobs:
3137
version: latest
3238
args: --config=.github/release.yml --skip-validate --release-notes release-notes.md
3339
env:
40+
GPG_FINGERPRINT: ${{ steps.gpg.outputs.fingerprint }}
3441
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)