Skip to content

Commit

Permalink
#153 Install gpg secret key
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi-asprino authored Nov 24, 2023
1 parent 10ef72c commit 22093dc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish_to_mvn-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- id: install-secret-key
name: Install gpg secret key
run: |
# Install gpg secret key
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
# Verify gpg secret key
gpg --list-secret-keys --keyid-format LONG
- uses: actions/checkout@v4
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
Expand Down

0 comments on commit 22093dc

Please sign in to comment.