Skip to main content

Build

The build template contains a build stage. It is used to build .NET projects.

info

To build NuGet packages please refer to my pack CI.

Getting started

Add the following to your .gitlab-ci.yml

.gitlab-ci.yml
include:
- project: "abfelbaum/ci"
file: "templates/dotnet/build.yml"

dotnet:build:
extends: .dotnet:build
variables:
DOTNET_PROJECT_PATH: "path/to/your/projectfile.csproj"

Configuration

The template inherits all configuration options from base.