Skip to content

Commit e054644

Browse files
committed
revert use of maven-settings-action
1 parent 4472e78 commit e054644

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,7 @@ jobs:
5858
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
5959

6060
- name: Initialize Maven settings
61-
uses: s4u/maven-settings-action@v3.1.0
62-
with:
63-
servers: |
64-
[{
65-
"id": "central",
66-
"username": "${{ secrets.OSSRH_USERNAME }}",
67-
"password": "${{ secrets.OSSRH_TOKEN }}"
68-
}]
61+
run: mkdir -p ./.m2 && mv settings.xml ./.m2
6962

7063
- name: Publish package
7164
run: mvn --batch-mode "-Dprod.build=true" -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} clean deploy --file pom-dist.xml

0 commit comments

Comments
 (0)