File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1919 server-id : ' ossrh'
2020 server-username : OSSRH_USERNAME
2121 server-password : OSSRH_PASSWORD
22+ gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
23+ gpg-passphrase : MAVEN_GPG_PASSPHRASE
2224
2325 - name : Get Maven project version
2426 run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
3133 env :
3234 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
3335 OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
36+ MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change 7171 </execution >
7272 </executions >
7373 </plugin >
74+ <plugin >
75+ <groupId >org.apache.maven.plugins</groupId >
76+ <artifactId >maven-gpg-plugin</artifactId >
77+ <version >3.0.1</version >
78+ <executions >
79+ <execution >
80+ <id >sign-artifacts</id >
81+ <phase >verify</phase >
82+ <goals >
83+ <goal >sign</goal >
84+ </goals >
85+ </execution >
86+ </executions >
87+ <configuration >
88+ <gpgArguments >
89+ <arg >--pinentry-mode</arg >
90+ <arg >loopback</arg >
91+ </gpgArguments >
92+ </configuration >
93+ </plugin >
7494 <plugin >
7595 <groupId >org.apache.maven.plugins</groupId >
7696 <artifactId >maven-source-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments