You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mchsamples-.net-core/.gitlab-ci.yml

18 lines
399 B

image: mcr.microsoft.com/dotnet/core/sdk:3.0
5 years ago
before_script:
- dotnet restore
build:
stage: build
script:
- dotnet build -c Release --no-restore
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release
artifacts:
paths:
- $CI_PROJECT_DIR/build/release
#test:
# stage: test
# script:
# - dotnet test --no-restore