GitHub Actions: Spring + JUnit + Gradle + STDOUT

Hey Folks,

following setup: Gradle, Spring Boot 2.3.2 + Spring Boot Test using OutputCaptureExtension using it with JUnit Test to validate logging.

All works fine outside GHA. It seems the STDOUT can be captured correctly in GHA.
If I check the logs in GHA, I don’t see the output of the test.

Adding e.g. “gradle test --info” it will output the test, however, OutputCaptureExtension still doesn’t capture the output.

Anything special about STDOUT for GHA?

Cheers,
Robert

are you using the official gradle command?

share the action yaml, it will be easier for us to help you