From d87b8ac1819b4e227461d677a90a768c7fcc52d6 Mon Sep 17 00:00:00 2001 From: Zongle Wang Date: Tue, 2 Apr 2024 14:04:57 +0800 Subject: [PATCH] It should be publishAlwaysIf --- settings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index 305c461b2d..1126463326 100644 --- a/settings.gradle +++ b/settings.gradle @@ -63,7 +63,7 @@ gradleEnterprise { buildScan { termsOfServiceUrl = "https://gradle.com/terms-of-service" termsOfServiceAgree = "yes" - publishAlways(providers.environmentVariable('CI').present) + publishAlwaysIf(providers.environmentVariable('CI').present) } }