Skip to content

Commit

Permalink
fix deploy env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-coding committed Jun 27, 2024
1 parent 48ff1a6 commit 917a648
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/releaseToMavenCentral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ jobs:
java-version: '11'
distribution: 'temurin'
server-id: central
server-username: ${{ secrets.MAVEN_CENTRAL_USER }}
server-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
server-username: MAVEN_CENTRAL_USER
server-password: MAVEN_CENTRAL_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_CENTRAL_GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.MAVEN_CENTRAL_GPG_PASSPHRASE }}
gpg-passphrase: MAVEN_CENTRAL_GPG_PASSPHRASE
- name: Publish package
run: ./mvnw deploy
env:
MAVEN_CENTRAL_USER: ${{ secrets.MAVEN_CENTRAL_USER }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
MAVEN_CENTRAL_GPG_PASSPHRASE: ${{ secrets.MAVEN_CENTRAL_GPG_PASSPHRASE }}

0 comments on commit 917a648

Please sign in to comment.