mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-12-12 22:42:22 +08:00
Capture build results when config-cache is enabled
When enabled, the configuration-cache will cause the build to fail when a `buildFinished` listener is added. Instead, use a BuildService to listen for task failures and to write the results on build completion.
This commit is contained in:
@@ -172,6 +172,7 @@ export class GradleStateCache {
|
||||
|
||||
const initScriptFilenames = [
|
||||
'build-result-capture.init.gradle',
|
||||
'build-result-capture-service.plugin.groovy',
|
||||
'project-root-capture.init.gradle',
|
||||
'project-root-capture.plugin.groovy'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user