aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorRoman / Nea <roman.graef@gmail.com>2022-06-16 11:37:11 +0200
committerGitHub <noreply@github.com>2022-06-16 11:37:11 +0200
commitd36b402fbf7f30757e0169bab81a974ddc7d3e76 (patch)
treeceeecb03b4156626d9e6dec7f42f3f4a6b189c18 /build.gradle.kts
parent8ce504940211a3f6c7069c0b84c922687a1754bb (diff)
downloadNotEnoughUpdates-d36b402fbf7f30757e0169bab81a974ddc7d3e76.tar.gz
NotEnoughUpdates-d36b402fbf7f30757e0169bab81a974ddc7d3e76.tar.bz2
NotEnoughUpdates-d36b402fbf7f30757e0169bab81a974ddc7d3e76.zip
Run infer on every PR (#169)
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 {