Skip to content

Commit

Permalink
feat: Fix env var
Browse files Browse the repository at this point in the history
  • Loading branch information
jecos committed Oct 7, 2024
1 parent 4e81458 commit b12a5a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
java-version: '11'
distribution: 'adopt'
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
server-username: SONATYPE_USERNAME
server-password: SONATYPE_PASSWORD
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.OSS_SONATYPE_GPG_PRIVATE_KEY }}
- id: publish-to-central
name: Publish to Central Repository
run: mvn clean -Dgpg.passphrase=${{ secrets.OSS_SONATYPE_GPG_PASSPHRASE }} deploy
env:
OSSRH_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}

0 comments on commit b12a5a1

Please sign in to comment.