Skip to content

Commit a5edea2

Browse files
committed
Fix serde API publishing
1 parent 4e7767b commit a5edea2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release-serde-api.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,4 @@ jobs:
3434
- name: Publish to Maven Central
3535
# TODO fix me next publish, I'm broken :(
3636
run: |
37-
mvn source:jar javadoc:jar package gpg:sign \
38-
-Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} \
39-
-Dserver.username=${{ secrets.NEXUS_USERNAME }} \
40-
-Dserver.password=${{ secrets.NEXUS_PASSWORD }} \
41-
central-publishing:publish -pl serde-api -s settings.xml
37+
./gradlew :serde-api:publish

serde-api/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ artifacts {
2525

2626
if (release) {
2727
signing {
28+
useInMemoryPgpKeys(
29+
System.getenv("GPG_PRIVATE_KEY"),
30+
System.getenv("GPG_PASSPHRASE")
31+
)
2832
sign(publishing.publications)
2933
}
3034
}

0 commit comments

Comments
 (0)