Update settings.gradle.kts
Some checks failed
CI / Prepare job (push) Successful in 13s
CI / Build individual modules (push) Successful in 7m28s
CI / Publish repo (push) Failing after 9s

This commit is contained in:
Kohi-denn 2025-06-04 04:20:05 -05:00
parent 65f8ad2ed0
commit 2d629aaecf

View file

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