File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 3333 gpg-private-key : ${{ secrets.GPG_KEY }}
3434 gpg-passphrase : GPG_KEY_PASSPHRASE
3535 - name : Deploy on Maven Central
36- run : ./mvnw -B --file pom.xml deploy -Prelease
36+ run : ./mvnw -B --file pom.xml deploy -Prelease --settings settings.xml
3737 env :
3838 MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
3939 MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
Original file line number Diff line number Diff line change 1+ <settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" >
2+ <servers >
3+ <server >
4+ <id >ossrh</id >
5+ <username >${env.MAVEN_USERNAME}</username >
6+ <password >${env.MAVEN_PASSWORD}</password >
7+ </server >
8+ </servers >
9+ </settings >
You can’t perform that action at this time.
0 commit comments