Skip to content

Commit 12c8d2f

Browse files
setup logs for github actions
1 parent fb5a0b6 commit 12c8d2f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,12 @@ signing {
4444
?.replace("\r\n", "\n") // Normalize line endings
4545
?.replace("\\n", "\n") // Handle escaped newlines
4646

47+
println("GPG Key: $signingKey")
48+
4749
val signingPassword = System.getenv("MAVEN_GPG_PASSPHRASE")
4850

51+
println("GPG Passphrase: $signingPassword")
52+
4953
if (signingKey != null && signingPassword != null) {
5054
useInMemoryPgpKeys(signingKey, signingPassword)
5155
}
@@ -102,6 +106,9 @@ mavenPublishing {
102106
// Only configure Maven Central publishing if credentials are available
103107
val hasCredentials = (System.getenv("CENTRAL_TOKEN_USERNAME") != null && System.getenv("CENTRAL_TOKEN_PASSWORD") != null)
104108

109+
println("Has credentials: $hasCredentials")
110+
print("CENTRAL_TOKEN_USERNAME: ${System.getenv("CENTRAL_TOKEN_USERNAME")}")
111+
print("CENTRAL_TOKEN_PASSWORD: ${System.getenv("CENTRAL_TOKEN_PASSWORD")}")
105112
publishToMavenCentral(automaticRelease = hasCredentials)
106113
}
107114

0 commit comments

Comments
 (0)