How using Github Action to build the maven project with multi submodule

Hi folks,

I have some questions about using Github Actions to build my project with many sub-modules. Here’s I share my project structure for better understanding
my-project
service-a
service-b
service-b

So, I know the best suggestion on this as I find the sample implementation only for a single project.

Thanks for help