diff init50-github.gradle @ 361:7b6d30651db7

Cygwin has an ENV that container 'CI'. Causing build issues. Just check for 'github' to determine if it is a local build
author davis@ssdt-ohio.org
date Thu, 16 Nov 2023 15:52:40 -0500
parents c57a1da032ec
children de8c350c511a
line wrap: on
line diff
--- a/init50-github.gradle	Wed Nov 15 14:48:56 2023 -0500
+++ b/init50-github.gradle	Thu Nov 16 15:52:40 2023 -0500
@@ -35,10 +35,7 @@
     hostname = 'unknown'
 }
 
-gradle.ext.bambooBuild = System.getenv().any {
-    it.key.toLowerCase().contains('ci') ||
-            it.key.toLowerCase().contains('github')
-}
+gradle.ext.bambooBuild = System.getenv().any { it.key.toLowerCase().contains('github') }
 
 gradle.ext.bambooLocalBuild = false