Vampire
04/30/2025, 3:10 PMallprojects { tasks.all {} }
tasks.register('foo') {
doLast {
allprojects*.tasks*.all { task ->
outputs.files.files.findAll { it.absolutePath.contains('.github') }.each {
println("FOO: ${task.name} | ${it.absolutePath}")
}
}
}
}
And the result even for the GHA run is exactly as expected: https://ge.spockframework.org/s/vnf6tebn2ygd4/console-log?page=1#L100
No overlap with any output of any other task in the whole build.no
04/30/2025, 3:53 PM.github/workflows/release.yaml ?no
04/30/2025, 3:58 PMorg.spockframework.gradle.PreprocessGithubWorkflow that declares .github/workflows/release.yaml as an output?
Ok, let's imagine this scenario, Github does a clean checkout of the repository. The first Gradle build after the checkout doesn't know how .github/workflows/release.yaml was created since it is already there but Gradle did not create it. The following builds work fine now that Gradle created that file.
Are you able to reproduce locally on a fresh checkout of git?Vampire
04/30/2025, 4:12 PMVampire
04/30/2025, 4:12 PMVampire
04/30/2025, 4:14 PMno
04/30/2025, 6:46 PMVampire
05/02/2025, 8:35 AMVampire
05/02/2025, 8:46 AMVampire
05/02/2025, 8:46 AMVampire
05/02/2025, 8:47 AMno
05/02/2025, 12:11 PM