Skip to content

Commit

Permalink
workflow: Use release profile to ensure signing
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoTorres committed Dec 2, 2021
1 parent 4a0d033 commit 9de0dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: |
cat <(echo -e "${{ secrets.GPG_PRIVATE_KEY }}") | gpg --batch --import
- name: Publish package
run: mvn --batch-mode deploy
run: mvn --batch-mode deploy -P release
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 comments on commit 9de0dc5

Please sign in to comment.