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 ee18006 commit 7f54fa5Copy full SHA for 7f54fa5
1 file changed
.github/workflows/publish-github.yml
@@ -18,6 +18,9 @@ jobs:
18
distribution: 'temurin'
19
java-version: 19
20
cache: 'maven'
21
+ server-id: ossrh
22
+ server-username: MAVEN_USERNAME
23
+ server-password: MAVEN_PASSWORD
24
gpg-private-key: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
25
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
26
- name: Enforce project version ${{ github.event.release.tag_name }}
@@ -26,4 +29,6 @@ jobs:
29
run: mvn deploy -B -DskipTests -Psign,deploy-github --no-transfer-progress
27
30
env:
28
31
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
+ MAVEN_USERNAME: ${{ secrets.NEXUS_USERNAME }}
33
+ MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
34
MAVEN_GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
0 commit comments