From 8ef18b236a13edac6c3271d6818409986d30d430 Mon Sep 17 00:00:00 2001 From: Kohi-denn Date: Wed, 21 May 2025 13:16:11 -0500 Subject: [PATCH] Update settings.gradle.kts --- settings.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index 80cfda1a..243af6c5 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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 {