aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-06-14 18:00:19 +0200
committernea <romangraef@gmail.com>2022-06-15 18:35:34 +0200
commita859e1cc949bbebf1f8eba1af615047f211536cd (patch)
treeceeecb03b4156626d9e6dec7f42f3f4a6b189c18 /build.gradle.kts
parent8ce504940211a3f6c7069c0b84c922687a1754bb (diff)
downloadNotEnoughUpdates-a859e1cc949bbebf1f8eba1af615047f211536cd.tar.gz
NotEnoughUpdates-a859e1cc949bbebf1f8eba1af615047f211536cd.tar.bz2
NotEnoughUpdates-a859e1cc949bbebf1f8eba1af615047f211536cd.zip
Run infer on every PRinfering
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts3
1 files changed, 1 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 9f3c1715..f790ee5f 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -37,8 +37,7 @@ val baseVersion = "2.1"
val buildExtra = mutableListOf<String>()
val buildVersion = properties["BUILD_VERSION"] as? String
if (buildVersion != null) buildExtra.add(buildVersion)
-val githubCi = properties["GITHUB_ACTIONS"] as? String
-if (githubCi == "true") buildExtra.add("ci")
+if (properties["CI"] as? String == "true") buildExtra.add("ci")
val stdout = ByteArrayOutputStream()
val execResult = exec {