Skip to content

Commit

Permalink
Enable Build Cache Push on GitHub CI (#3836)
Browse files Browse the repository at this point in the history
Now the Develocity credentials are set on GitHub CI we can enable pushing Build Cache. This will improve build performance.
  • Loading branch information
adam-enko authored Sep 30, 2024
1 parent 745d889 commit 25aee7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-settings-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ val buildCacheLocalDirectory: Provider<String> =
dokkaProperty("build.cache.local.directory")
val buildCachePushEnabled: Provider<Boolean> =
dokkaProperty("build.cache.push", String::toBoolean)
.orElse(buildingOnTeamCity)
.orElse(buildingOnCi)

buildCache {
local {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ val buildCacheLocalDirectory: Provider<String> =
dokkaProperty("build.cache.local.directory")
val buildCachePushEnabled: Provider<Boolean> =
dokkaProperty("build.cache.push", String::toBoolean)
.orElse(buildingOnTeamCity)
.orElse(buildingOnCi)

buildCache {
local {
Expand Down

0 comments on commit 25aee7d

Please sign in to comment.