Skip to content

Commit

Permalink
Pass MAVEN_USERNAME and MAVEN_PASSWORD as envs (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Jan 27, 2024
1 parent c8094a5 commit e8f3ae0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ jobs:
architecture: ${{ matrix.architecture }}
cache: 'maven'
server-id: ossrh
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_TOKEN }}
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

- name: Release with Maven
run: mvn -DskipTests deploy

0 comments on commit e8f3ae0

Please sign in to comment.