forked from AlmightyHak/extensions-source
Update settings.gradle.kts
This commit is contained in:
parent
89c957d1ec
commit
8ef18b236a
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue