Skip to content

Commit 7a727f9

Browse files
committed
test pgp
1 parent 94740fb commit 7a727f9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/test-gpg.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Test PGP_SECRET Import
2+
3+
on:
4+
workflow_dispatch: {}
5+
6+
jobs:
7+
test-gpg:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Decode and import PGP secret key
11+
run: |
12+
echo "$PGP_SECRET" | base64 -d | gpg --import
13+
gpg --list-secret-keys
14+
env:
15+
PGP_SECRET: ${{ secrets.PGP_SECRET }}

0 commit comments

Comments
 (0)