Build summary sometimes reports an incorrect outcome.
See the following run that states that the build's outcome was successful, but the build scan to which it links shows that it failed:
✅ GitHub Actions: https://github.com/spring-projects/spring-boot/actions/runs/11251305654#summary-31282046104 ❌ Build Scan: https://ge.spring.io/s/nmhwq32yieini
This isn't always the case. See this run from a couple of days ago where the outcome was reported correctly:
❌ GitHub Actions: https://github.com/spring-projects/spring-boot/actions/runs/11212828205#summary-31164600154 ❌ Build Scan: https://ge.spring.io/s/2keixgnolziv2
In both cases the build was using were using gradle/actions@d156388eb19639ec20ade50009f3d199ce1e2808
One thing I noticed is the build whose summary is reporting incorrectly failed fairly early on compared to the other.
Here's another example:
✅ GitHub Actions: https://github.com/spring-projects/spring-boot/actions/runs/11402495633#summary-31727609618 ❌ Build scan: https://ge.spring.io/s/xuaecuq76ywnm
This one failed quite quickly too.
Two cases where this is known to occur:
- Failure when configuring build
- Failure in task from included build