File tree Expand file tree Collapse file tree 3 files changed +8
-20
lines changed
Expand file tree Collapse file tree 3 files changed +8
-20
lines changed Original file line number Diff line number Diff line change 1313
1414 runs-on : ubuntu-latest
1515
16+ env :
17+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
18+ MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
19+ MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_KEY_PASSPHRASE }}
20+
1621 steps :
1722 - uses : actions/checkout@v3
1823 - name : Cache Maven packages
3338 gpg-private-key : ${{ secrets.GPG_KEY }}
3439 gpg-passphrase : GPG_KEY_PASSPHRASE
3540 - name : Deploy on Maven Central
36- run : ./mvnw -B --file pom.xml deploy -Prelease --settings settings.xml
37- env :
38- MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
39- MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
40- MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_KEY_PASSPHRASE }}
41+ run : ./mvnw -B deploy -Prelease -DskipTests
Original file line number Diff line number Diff line change 2828
2929 <properties >
3030
31- <!-- Dependencies -->
32-
33- <publish .server.id>ossrh</publish .server.id>
34- <release .goals>install org.sonatype.central:central-publishing-maven-plugin:0.7.0:publish</release .goals>
3531 <json .schema.validator.version>2.2.14</json .schema.validator.version>
3632 <jackson .core.version>2.15.2</jackson .core.version>
3733 <jackson .databind.version>2.15.2</jackson .databind.version>
8884 <version >0.7.0</version >
8985 <extensions >true</extensions >
9086 <configuration >
91- <publishingServerId >${publish.server.id} </publishingServerId >
87+ <publishingServerId >ossrh </publishingServerId >
9288 <autoPublish >true</autoPublish >
9389 </configuration >
9490 </plugin >
118114 <configuration >
119115 <autoVersionSubmodules >true</autoVersionSubmodules >
120116 <releaseProfiles >release</releaseProfiles >
121- <goals >${release.goals} </goals >
117+ <goals >deploy </goals >
122118 </configuration >
123119 </plugin >
124120 <plugin >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments