File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 env :
1616 CENTRAL_TOKEN_USERNAME : ${{ secrets.CENTRAL_TOKEN_USERNAME }}
1717 CENTRAL_TOKEN_PASSWORD : ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
18+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
1819 steps :
1920 - name : Checkout
2021 uses : actions/checkout@v4
2829 server-id : central
2930 server-username : CENTRAL_TOKEN_USERNAME
3031 server-password : CENTRAL_TOKEN_PASSWORD
32+ gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
33+ gpg-passphrase : GPG_PASSPHRASE
3134
3235 - name : Check release gate
3336 id : gate
Original file line number Diff line number Diff line change 142142 </execution >
143143 </executions >
144144 </plugin >
145+ <plugin >
146+ <groupId >org.apache.maven.plugins</groupId >
147+ <artifactId >maven-gpg-plugin</artifactId >
148+ <version >3.2.8</version >
149+ <executions >
150+ <execution >
151+ <id >sign-artifacts</id >
152+ <phase >verify</phase >
153+ <goals >
154+ <goal >sign</goal >
155+ </goals >
156+ </execution >
157+ </executions >
158+ </plugin >
145159 </plugins >
146160 </build >
147161 </profile >
You can’t perform that action at this time.
0 commit comments