Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven publish fix #116

Merged
merged 9 commits into from
Aug 3, 2024
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
java-version: '11'
distribution: 'temurin'
server-id: ossrh
server-username: ${{ secrets.SONATYPE_TOKEN_USERNAME }}
server-password: ${{ secrets.SONATYPE_TOKEN_PASSWORD }}
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PRIVATE_KEY_PASSWORD

- name: Publish to Apache Maven Central
if: github.event.release
run: mvn deploy -P release
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_TOKEN_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_TOKEN_PASSWORD }}
MAVEN_USERNAME: ${{ secrets.SONATYPE_TOKEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_TOKEN_PASSWORD }}
GPG_PRIVATE_KEY_PASSWORD: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}
Loading