We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f54efb3 commit 2a89561Copy full SHA for 2a89561
.github/workflows/deploy.yml
@@ -19,20 +19,15 @@ jobs:
19
with:
20
java-version: '23'
21
distribution: 'temurin'
22
- server-id: [github, ossrh]
23
- server-username: [GITHUB_ACTOR, MAVEN_USERNAME]
24
- server-password: [GITHUB_TOKEN, MAVEN_PASSWORD]
+ server-id: ossrh
+ server-username: MAVEN_USERNAME
+ server-password: MAVEN_PASSWORD
25
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
26
gpg-passphrase: MAVEN_GPG_PASSPHRASE
27
28
- name: Build with Maven
29
run: mvn clean package
30
31
- - name: Publish to GitHub Packages
32
- run: mvn deploy -P github
33
- env:
34
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35
-
36
- name: Publish to Maven Central
37
run: mvn deploy -P ossrh
38
env:
0 commit comments