Skip to content

Commit

Permalink
corrected getting secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh Kennadi committed Sep 30, 2024
1 parent d2bc4eb commit 516515d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
java-version: '11'
cache: maven
server-id: ossrh
server-username: ${{ secrets.MAVEN_USERNAME }}
server-password: ${{ secrets.MAVEN_TOKEN }}
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD

- name: Import GPG Key
run: |
Expand All @@ -35,4 +35,7 @@ jobs:
run: |
export GPG_TTY=$(tty)
mvn clean deploy -DskipTests=true -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_TOKEN }}
working-directory: Xero-Java

0 comments on commit 516515d

Please sign in to comment.