Skip to content

Commit

Permalink
inMemoryPgpKeys
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianIOHK committed Jul 18, 2024
1 parent 5f711e2 commit d8841f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,14 @@ allprojects {
}

signing {
useInMemoryPgpKeys(String(Base64.getDecoder().decode(base64EncodedAsciiArmoredSigningKey.toByteArray())), signingKeyPassword)
val base64EncodedAsciiArmoredSigningKey: String = System.getenv("BASE64_ARMORED_GPG_SIGNING_KEY_MAVEN") ?: ""
val signingKeyPassword: String = System.getenv("SIGNING_KEY_PASSWORD") ?: ""
useInMemoryPgpKeys(
String(
Base64.getDecoder().decode(base64EncodedAsciiArmoredSigningKey.toByteArray())
),
signingKeyPassword
)
// useInMemoryPgpKeys(
// project.findProperty("signing.signingSecretKey") as String?
// ?: System.getenv("OSSRH_GPG_SECRET_KEY"),
Expand Down

0 comments on commit d8841f1

Please sign in to comment.