diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a436fe7..a4fa6f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,7 @@ build: needs: - restore script: - - dotnet build --no-self-contained + - dotnet build -maxcpucount:1 --no-self-contained lint: stage: lint @@ -76,8 +76,8 @@ pack: - lint - test script: - - dotnet build --configuration Release --no-self-contained *.sln - - dotnet pack --configuration Release *.sln || echo "Some packaging failed!" + - dotnet build -maxcpucount:1 --configuration Release --no-self-contained *.sln + - dotnet pack -maxcpucount:1 --configuration Release *.sln || echo "Some packaging failed!" artifacts: expire_in: 1 week paths: