It looks the issue was caused by the build parallelism (e.g. Gradle detected 8 virtual CPUs or something like that). --no-parallel Gradle flag seems to helps GitHub Actions.
We could probably try adding "parallel 2" to speed up the build, but I suggest to monitor no-parallel for a while to see how stable is it. Our PRs now have Windows and macOS testing thanks to GitHub. Vladimir
