We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb4647a commit e4b4a83Copy full SHA for e4b4a83
.github/workflows/maven-publish.yml
@@ -38,6 +38,10 @@ jobs:
38
server-id: github
39
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
40
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
41
+ - name: Set up Maven settings
42
+ run: |
43
+ mkdir -p $HOME/.m2
44
+ echo "<settings><servers><server><id>ossrh</id><username>${{ secrets.OSSRH_USERNAME }}</username><password>${{ secrets.OSSRH_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
45
- name: Publish to GitHub Packages
46
run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy
47
env:
0 commit comments