Skip to content

Commit a99dd9c

Browse files
authored
Update release.yml
1 parent 51d109f commit a99dd9c

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,13 @@ jobs:
3434
java-version: '17'
3535
distribution: 'zulu'
3636
server-id: central
37-
server-username: ${{ secrets.MAVEN_USERNAME }}
38-
server-password: ${{ secrets.MAVEN_PASSWORD }}
37+
server-username: MAVEN_USERNAME
38+
server-password: MAVEN_PASSWORD
3939
# GPG Key setup for signing artifacts
4040
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
41-
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
41+
gpg-passphrase: GPG_PASSPHRASE
4242

43-
- name: Print Maven Settings.xml for Debugging
44-
# This step helps debug by printing the effective Maven settings.xml
45-
# It will show if the 'central' server configuration is correctly added.
46-
run: |
47-
cat ~/.m2/settings.xml
48-
shell: bash
49-
- name: Bump version in pom.xml && Deploy JAR to Maven Central
43+
- name: Bump version in pom.xml
5044
run: mvn versions:set -DnewVersion=${{ github.event.inputs.new_version }} -DgenerateBackupPoms=false
5145

5246
- name: Deploy JAR to Maven Central

0 commit comments

Comments
 (0)