From 85f4fceec10419aafc131b13fc2026dfe169d623 Mon Sep 17 00:00:00 2001 From: Jake Wang Date: Thu, 5 Dec 2024 10:56:46 +0800 Subject: [PATCH] Skip signing if running in CI --- plugin/build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/build.gradle b/plugin/build.gradle index 1ccd658..f3eff7e 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -55,9 +55,12 @@ gradlePlugin { signing { sign publishing.publications +} - // Disable signing in CI +// Disable signing tasks in CI +tasks.withType(Sign).configureEach { onlyIf { + // Skip signing if running in CI !System.getenv("CI") } }