We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd488c8 commit 465195eCopy full SHA for 465195e
.github/workflows/maven-central.yml
@@ -18,15 +18,11 @@ jobs:
18
distribution: 'temurin'
19
cache: 'maven'
20
21
- - name: Import GPG key
22
- uses: crazy-max/ghaction-import-gpg@v6
23
- with:
24
- gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
25
- passphrase: ${{ secrets.GPG_PASSPHRASE }}
26
- git_user_signingkey: true
27
-
28
- - name: List GPG keys
+ - name: Setup GPG
29
run: |
+ echo "${{ secrets.GPG_PRIVATE_KEY }}" > private.key
+ gpg --batch --import private.key
+ rm private.key
30
echo "Listing GPG keys..."
31
gpg --list-secret-keys --keyid-format LONG
32
gpg --list-keys --keyid-format LONG
0 commit comments