Skip to content

Commit

Permalink
Skip signing if running in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakuan committed Dec 5, 2024
1 parent ec5b9a1 commit 85f4fce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
Expand Down

0 comments on commit 85f4fce

Please sign in to comment.