From 6520d8e4cc16840af55401386dde8a047c94159a Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 15 Aug 2021 14:09:11 +0100 Subject: [PATCH] dotnet --- .gitlab-ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 42d8866..ab6f41d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,18 +7,17 @@ before_script: - dotnet restore - dotnet nuget remove source gitlab || true nonreg: + tags: + - dotnet stage: test script: - | echo "$CI_JOB_STAGE" cd test/isnd.tests/ ASPNETCORE_ENVIRONMENT=Development dotnet test -test2: - stage: test - script: - - echo "Do another parallel test here" - - echo "For example run a lint test" publish: + tags: + - dotnet stage: deploy artifacts: paths: @@ -27,9 +26,9 @@ publish: script: - dotnet publish --configuration Release deploy-to-gitlab: - stage: deploy tags: - - msbuild + - dotnet + stage: deploy artifacts: paths: - src/*/bin/Release/*.nupkg