Skip to content

Commit

Permalink
Fix to deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Feb 12, 2024
1 parent 595efa7 commit 9830448
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy_maven_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ jobs:
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Import gpg
run: echo -e "${{ secrets.PASSPHRASE }}" | echo -e "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --allow-secret-key-import --import
- name: Build package
run: mvn clean install -P full,coverage,metadata
- name: Publish package
run: mvn --batch-mode deploy
run: mvn --batch-mode deploy -P doRelease
env:
MAVEN_USERNAME: ${{ secrets.OSS_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSS_PASSWORD }}

0 comments on commit 9830448

Please sign in to comment.