Update settings.gradle.kts
Some checks failed
CI / Prepare job (push) Successful in 12s
CI / Build individual modules (push) Failing after 3m44s
CI / Publish repo (push) Has been skipped

This commit is contained in:
Kohi-denn 2025-05-21 13:16:11 -05:00
parent 89c957d1ec
commit 8ef18b236a

View file

@ -19,8 +19,8 @@ if (System.getenv("CI") != "true") {
} else { } else {
// Running in CI (GitHub Actions) // Running in CI (GitHub Actions)
val chunkSize = System.getenv("CI_CHUNK_SIZE").toInt() val chunkSize = System.getenv("CI_CHUNK_SIZE")?.toIntOrNull() ?: Int.MAX_VALUE
val chunk = System.getenv("CI_CHUNK_NUM").toInt() val chunk = System.getenv("CI_CHUNK_NUM")?.toIntOrNull() ?: 0
// Loads individual extensions // Loads individual extensions
File(rootDir, "src").getChunk(chunk, chunkSize)?.forEach { File(rootDir, "src").getChunk(chunk, chunkSize)?.forEach {