Skip to content

Commit

Permalink
Disable signing if no key avaliable
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmudd authored Nov 15, 2024
1 parent 8d59f3d commit 339d0d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jhdf/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ publishing {
}

signing {
required { System.getenv("SIGNING_KEY") != null }
def signingKey = System.getenv("SIGNING_KEY")
def signingPassword = System.getenv("SIGNING_PASSWORD")
useInMemoryPgpKeys(signingKey, signingPassword)
Expand Down

0 comments on commit 339d0d0

Please sign in to comment.