Skip to content

Commit

Permalink
Export gpg key
Browse files Browse the repository at this point in the history
  • Loading branch information
AmniX committed Oct 1, 2024
1 parent 5ab6eb6 commit acf2237
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
with:
gpg_private_key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
passphrase: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
- name: Export GPG key to secring
run: gpg --keyring secring.gpg --export-secret-keys > ~/.gnupg/secring.gpg
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand All @@ -51,7 +53,7 @@ jobs:
--no-configuration-cache
--no-daemon
-Psigning.password='${{secrets.OSSRH_GPG_SECRET_KEY_PASSWORD}}'
-Psigning.secretKeyRingFile=/home/runner/.gnupg/secring.gpg
-Psigning.secretKeyRingFile=~/.gnupg/secring.gpg
-Psigning.keyId='${{secrets.OSSRH_GPG_SECRET_KEY_ID}}'
-PmavenCentralUsername='${{secrets.OSSRH_USERNAME}}'
-PmavenCentralPassword='${{secrets.OSSRH_PASSWORD}}'
Expand Down

0 comments on commit acf2237

Please sign in to comment.