File tree 1 file changed +4
-4
lines changed
gradle/build-logic/common-plugins/src/main/kotlin/plugins
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,9 @@ tasks {
150
150
}
151
151
}
152
152
153
+ // Set GitHub workflow action output for this build
154
+ build { finalizedBy(githubActionOutput) }
155
+
153
156
register(" ciBuild" ) {
154
157
description = " Build with all the reports!"
155
158
val publish = GithubAction .isTagBuild && Platform .isLinux
@@ -161,17 +164,14 @@ tasks {
161
164
add(" dokkaHtmlMultiModule" )
162
165
if (publish) {
163
166
logger.lifecycle(" Publishing task is enabled for this build!" )
164
- add (" publishAllPublicationsToGitHubPackagesRepository" )
167
+ finalizedBy (" publishAllPublicationsToGitHubPackagesRepository" )
165
168
}
166
169
}
167
170
dependsOn(* ciBuildTasks.toTypedArray())
168
171
named(" koverHtmlReport" ).map { it.mustRunAfter(tasks.build) }
169
172
named(" dokkaHtmlMultiModule" ).map { it.mustRunAfter(tasks.build) }
170
173
}
171
174
172
- // Set GitHub workflow action output for this build
173
- build { finalizedBy(githubActionOutput) }
174
-
175
175
// Task to print the project version
176
176
register(" v" ) {
177
177
description = " Print the ${project.name} version!"
You can’t perform that action at this time.
0 commit comments