Skip to content

Commit 4473e15

Browse files
committed
fix: remove settings.xml in favour of server-id
1 parent 9d50f67 commit 4473e15

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/publish-to-maven-central.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,10 @@ jobs:
2626
with:
2727
java-version: 11
2828

29-
- name: Generate settings.xml
30-
uses: whelk-io/maven-settings-xml-action@v22
31-
with:
32-
servers: '[{ "id": "central", "username": "${{ secrets.NEXUS_USERNAME }}", "password": "${{ secrets.NEXUS_PASSWORD }}" }]'
33-
3429
- name: Release Maven package
3530
uses: WasiqB/maven-publish-action@v1
3631
with:
32+
server_id: central
3733
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3834
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
3935
nexus_username: ${{ secrets.NEXUS_USERNAME }}

0 commit comments

Comments
 (0)