I have a pipeline on AWS for my api service which written in .Net core 3.1.
My buildspec.yml pretty simple, it runs dotnet restore and dotnet publish
dotnet restore
dotnet publish