File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed
Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
2828 java-version : 8
2929 server-id : central
3030 distribution : " adopt"
31- server-username : ${{ secrets. MAVEN_CENTRAL_USERNAME }}
32- server-password : ${{ secrets. MAVEN_CENTRAL_PASSWORD }}
31+ server-username : MAVEN_CENTRAL_USERNAME
32+ server-password : MAVEN_CENTRAL_PASSWORD
3333 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
34- gpg-passphrase : ${{ secrets. GPG_PASSPHRASE }}
34+ gpg-passphrase : GPG_PASSPHRASE
3535
3636 # This step runs ONLY on branch pushes (dry-run)
3737 - name : Run Release Dry-Run (Verify)
Original file line number Diff line number Diff line change 88 <version >0.55.0</version >
99 </parent >
1010 <artifactId >databricks-sdk-java</artifactId >
11+ <name >Databricks SDK for Java</name >
1112 <properties >
1213 <httpclient .version>4.5.14</httpclient .version>
1314 <jackson .version>2.15.2</jackson .version>
Original file line number Diff line number Diff line change 256256 </execution >
257257 </executions >
258258 </plugin >
259+ <plugin >
260+ <groupId >org.apache.maven.plugins</groupId >
261+ <artifactId >maven-gpg-plugin</artifactId >
262+ <version >1.6</version >
263+ <configuration >
264+ <!-- Prevent gpg from using pinentry programs -->
265+ <gpgArguments >
266+ <arg >--pinentry-mode</arg >
267+ <arg >loopback</arg >
268+ </gpgArguments >
269+ </configuration >
270+ <executions >
271+ <execution >
272+ <id >sign-artifacts</id >
273+ <goals >
274+ <goal >sign</goal >
275+ </goals >
276+ <phase >verify</phase >
277+ </execution >
278+ </executions >
279+ </plugin >
259280 <plugin >
260281 <groupId >org.sonatype.central</groupId >
261282 <artifactId >central-publishing-maven-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments