mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 13:06:18 +08:00
Clarify comment
This commit is contained in:
parent
164712adb1
commit
531cc21aeb
@ -32,7 +32,8 @@ if (isTopLevelBuild) {
|
|||||||
if (gradle.rootProject.pluginManager.hasPlugin("com.gradle.build-scan")) {
|
if (gradle.rootProject.pluginManager.hasPlugin("com.gradle.build-scan")) {
|
||||||
captureUsingBuildScanPublished(gradle.rootProject.extensions["buildScan"], gradle.rootProject, invocationId)
|
captureUsingBuildScanPublished(gradle.rootProject.extensions["buildScan"], gradle.rootProject, invocationId)
|
||||||
}
|
}
|
||||||
// We need to capture in buildFinished in case the plugin is applied but no build scan is published
|
// Always attempt to capture in buildFinished in case the plugin is applied but no build scan is published
|
||||||
|
// The `buildScanPublished` results will NOT be overwritten by this call
|
||||||
captureUsingBuildFinished(gradle, invocationId)
|
captureUsingBuildFinished(gradle, invocationId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user