Skip to content

Commit 295e595

Browse files
committed
signing changes
1 parent 33925c6 commit 295e595

File tree

2 files changed

+3
-26
lines changed

2 files changed

+3
-26
lines changed

.github/workflows/javadoc.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ extra["signing.keyId"] = ""
103103
extra["signing.password"] = ""
104104
extra["signing.secretKeyRingFile"] = ""
105105
extra["sonatypeStagingProfileId"] = ""
106+
extra["signing.gpgkeycontents"] = ""
106107

107108
val secretPropsFile = project.rootProject.file("local.properties")
108109
if (secretPropsFile.exists()) {
@@ -117,6 +118,7 @@ if (secretPropsFile.exists()) {
117118
extra["signing.keyId"] = System.getenv("SIGNING_KEY_ID") ?: ""
118119
extra["signing.password"] = System.getenv("SIGNING_PASSWORD") ?: ""
119120
extra["signing.secretKeyRingFile"] = System.getenv("SIGNING_SECRET_KEY_RING_FILE") ?: ""
121+
extra["signing.gpgkeycontents"] = System.getenv("GPG_KEY_CONTENTS") ?: ""
120122
extra["sonatypeStagingProfileId"] = System.getenv("SONATYPE_STAGING_PROFILE_ID") ?: ""
121123
}
122124

@@ -158,7 +160,7 @@ publishing {
158160
signing {
159161
useInMemoryPgpKeys(
160162
extra["signing.keyId"] as String,
161-
extra["signing.secretKeyRingFile"] as String,
163+
extra["signing.gpgkeycontents"] as String,
162164
extra["signing.password"] as String
163165
)
164166
sign(publishing.publications)

0 commit comments

Comments
 (0)