We’re writing several .NET Core templates (webapp, class library, etc), that allow us to generate a project quickly. Part of this includes packaging a default
.gitlab-ci.yml file that does the build and package steps for the project.
The folder structure looks like this:
\ .gitlab-ci.yml \class-library \content .gitlab-ci.yml \api-service \content .gitlab-ci.yml \\ etc.
.gitlab-ci.yml file contains steps with the same name.
Is there a way I can “execute” the “build” step of each individual template within the top-level
.gitlab-ci.yml? The examples I can see about including files seem to bring in the full step names, which will conflict (as there wil be multiple steps).
I’ve tried including the files directly, but because there are multiple
build steps, only one gets included (if they conflict with the same name in the root file, then none get included).