File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1717 uses : actions/setup-java@v3
1818 with :
1919 java-version : ' 11'
20+ cache : ' maven'
2021 distribution : ' adopt'
21- gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
22- gpg-passphrase : ${{ secrets.GPG_PASSPHRASE }}
22+
2323
2424 - name : Configure Maven settings
2525 run : |
3030 run : mvn --batch-mode --update-snapshots clean test spotless:check ossindex:audit
3131
3232 - name : Deploy to Maven Central
33+ env :
34+ MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PRIVATE_KEY }}
35+ MAVEN_GPG_KEY : ${{ secrets.GPG_PASSPHRASE }}
3336 if : success()
34- run : mvn deploy -P release
37+ run : MAVEN_GPG_PASSPHRASE=$MAVEN_GPG_PASSPHRASE MAVEN_GPG_KEY=${MAVEN_GPG_KEY} mvn deploy -DskipTests
3538
3639 - name : Create GitHub Release
3740 if : success()
Original file line number Diff line number Diff line change 174174 <plugin >
175175 <groupId >org.apache.maven.plugins</groupId >
176176 <artifactId >maven-gpg-plugin</artifactId >
177- <version >3.0.1 </version >
177+ <version >3.2.6 </version >
178178 <executions >
179179 <execution >
180180 <id >sign-artifacts</id >
183183 <goal >sign</goal >
184184 </goals >
185185 <configuration >
186- <gpgArguments >
187- <arg >--pinentry-mode</arg >
188- <arg >loopback</arg >
189- </gpgArguments >
186+ <signer >bc</signer >
190187 </configuration >
191188 </execution >
192189 </executions >
You can’t perform that action at this time.
0 commit comments