File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 server-id : central
5252 server-username : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
5353 server-password : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
54- gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
55- gpg-passphrase : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
54+ # gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
55+ # gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
5656
5757 - name : Set version in pom.xml
5858 if : ${{ github.event.inputs.version != '' }}
@@ -65,16 +65,13 @@ jobs:
6565 echo "version=$VERSION" >> $GITHUB_OUTPUT
6666 echo "Publishing version: $VERSION" >> $GITHUB_STEP_SUMMARY
6767
68- - name : Build and verify
69- run : mvn verify -DskipTests
70-
71- - name : Deploy to Maven Central
72- run : mvn -X deploy -DskipTests -Prelease
68+ - name : Build and Deploy to Maven Central
69+ run : mvn -X verify deploy -DskipTests -Prelease
7370 env :
7471 MAVEN_USERNAME : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
7572 MAVEN_PASSWORD : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
76- MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
77- MAVEN_GPG_PRIVATE_KEY : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
73+ # MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
74+ # MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
7875
7976 github-release :
8077 name : Create GitHub Release
Original file line number Diff line number Diff line change 186186 </execution >
187187 </executions >
188188 </plugin >
189+ <!--
189190 <plugin>
190191 <groupId>org.apache.maven.plugins</groupId>
191192 <artifactId>maven-gpg-plugin</artifactId>
200201 </execution>
201202 </executions>
202203 </plugin>
204+ -->
203205 <plugin >
204206 <groupId >org.sonatype.central</groupId >
205207 <artifactId >central-publishing-maven-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments