Skip to content

Commit

Permalink
set environment variables in m2-settings.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklasl committed Sep 28, 2023
1 parent 7679a37 commit e31c52c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,13 @@ jobs:
distribution: 'zulu'
java-version: 17
server-id: ossrh
server-username: ${{ secrets.OSSRH_USERNAME }} # username for Sonatype JIRA login
server-password: ${{ secrets.OSSRH_TOKEN }} # password for Sonatype JIRA login
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # Full private key blob
gpg-passphrase: ${{ secrets.SIGN_KEY_PASS }} # Password chosen when creating the GPG key

- name: Deploy with Maven
run: |
mvn --batch-mode \
clean deploy
run: mvn --batch-mode clean deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
Expand Down

0 comments on commit e31c52c

Please sign in to comment.