We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a15fe7 commit 16bd5bcCopy full SHA for 16bd5bc
1 file changed
.github/workflows/maven-publish.yml
@@ -32,7 +32,7 @@ jobs:
32
33
- name: Set up Apache Maven Central
34
uses: actions/setup-java@v2
35
- with: # running setup-java again overwrites the settings.xml
+ with:
36
distribution: 'zulu'
37
java-version: '11'
38
server-id: sonatype-nexus-staging
@@ -41,6 +41,10 @@ jobs:
41
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
42
gpg-passphrase: MAVEN_GPG_PASSPHRASE
43
settings-path: ${{ github.workspace }}/generated-settings
44
+ env:
45
+ MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USER }}
46
+ MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
47
+ MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
48
49
- name: Release to Apache Maven Central
50
run: mvn deploy -s $GITHUB_WORKSPACE/generated-settings/settings.xml
0 commit comments