File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ signing {
118118 val isCi: Boolean by gradle.extra
119119 if (isCi) {
120120 val keyFile = System .getenv(" SIGNING_KEY_FILE" )
121- if (keyFile != null ) {
121+ if (keyFile != null && file(keyFile).exists() ) {
122122 val keyText = file(keyFile).readText()
123123 val keyPass = System .getenv(" SIGNING_KEY_PASSWORD" )
124124
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m
77# https://docs.gradle.org/current/userguide/configuration_cache.html
88org.gradle.configuration-cache =true
99
10- version =0.1.31 -SNAPSHOT
10+ version =0.1.32 -SNAPSHOT
1111
1212platformType = IC
1313platformVersion = 2025.2
Original file line number Diff line number Diff line change @@ -166,10 +166,12 @@ publishing {
166166signing {
167167 if (isCi) {
168168 val keyFile = System .getenv(" SIGNING_KEY_FILE" )
169- val keyText = file(keyFile).readText()
170- val keyPass = System .getenv(" SIGNING_KEY_PASSWORD" )
169+ if (keyFile != null && file(keyFile).exists()) {
170+ val keyText = file(keyFile).readText()
171+ val keyPass = System .getenv(" SIGNING_KEY_PASSWORD" )
171172
172- useInMemoryPgpKeys(keyText, keyPass)
173- sign(publishing.publications[" pluginDistribution" ])
173+ useInMemoryPgpKeys(keyText, keyPass)
174+ sign(publishing.publications[" pluginDistribution" ])
175+ }
174176 }
175177}
You can’t perform that action at this time.
0 commit comments