File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 28
28
GITHUB_IS_PULL_REQUEST : ${{ github.event_name == 'pull_request' }}
29
29
ORG_GRADLE_PROJECT_NEXUS_USERNAME : ${{ secrets.NEXUS_USERNAME }}
30
30
ORG_GRADLE_PROJECT_NEXUS_PASSWORD : ${{ secrets.NEXUS_PASSWORD }}
31
+ ORG_GRADLE_PROJECT_IS_CI : true
31
32
32
33
- name : Run coverage
33
34
env :
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ def getRepositoryPassword() {
23
23
return hasProperty(' NEXUS_PASSWORD' ) ? NEXUS_PASSWORD : " "
24
24
}
25
25
26
+ def isCI () {
27
+ return hasProperty(' IS_CI' ) ? IS_CI == " true" : false
28
+ }
29
+
26
30
java {
27
31
withJavadocJar()
28
32
withSourcesJar()
@@ -82,7 +86,7 @@ afterEvaluate {
82
86
}
83
87
84
88
signing {
85
- required { isReleaseBuild() }
89
+ required { isReleaseBuild() && ! isCI() }
86
90
sign publishing. publications. release
87
91
}
88
92
}
You can’t perform that action at this time.
0 commit comments