Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
q3769 committed Mar 16, 2023
2 parents df553ef + fb08083 commit 72162de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
# gpg-passphrase: ""
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish to OSSRH for Maven Central
run: mvn --batch-mode deploy -Dgpg.passphrase="" -Prelease
run: mvn --batch-mode deploy -Prelease -Dgpg.passphrase=
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
# MAVEN_GPG_PASSPHRASE: ""
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}

0 comments on commit 72162de

Please sign in to comment.