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 afa4dda commit 9572a5fCopy full SHA for 9572a5f
.github/workflows/maven-publish.yml
@@ -22,10 +22,13 @@ jobs:
22
distribution: 'temurin'
23
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
24
server-id: central
25
- server-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
26
- server-password: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
+ server-username: MAVEN_USERNAME
+ server-password: MAVEN_PASSWORD
27
- name: Publish to the Maven Central Repository
28
run: mvn -P central --batch-mode deploy
29
+ env:
30
+ MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
31
+ MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
32
- name: Set up Java for publishing to GitHub Packages
33
uses: actions/setup-java@v4
34
with:
0 commit comments