Skip to content

Commit

Permalink
Move Maven envs to deploy stage (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Jan 27, 2024
1 parent a2dd477 commit 6ee3425
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ jobs:
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE


- name: Release with Maven
run: mvn --batch-mode --no-transfer-progress -DskipTests deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Release with Maven
run: mvn --batch-mode --no-transfer-progress -DskipTests deploy

0 comments on commit 6ee3425

Please sign in to comment.