Skip to content

Commit fff3323

Browse files
committed
Stop trying to write to remote build cache PR builds from forks
1 parent c662e79 commit fff3323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ buildCache {
5757
if (useDevelocityInstance) {
5858
remote(develocity.buildCache) {
5959
server = buildCacheServer.orNull
60-
val authenticated = System.getenv("DEVELOCITY_ACCESS_KEY") != null
60+
val authenticated = System.getenv("DEVELOCITY_ACCESS_KEY").isNotBlank()
6161
isPush = buildParameters.ci && authenticated
6262
}
6363
} else {

0 commit comments

Comments
 (0)