chore: fixes deployment to run with shared runners

This commit is contained in:
Matthias Langhard
2020-12-14 14:10:57 +01:00
parent c4a2921a8a
commit dd92939a6f
2 changed files with 13 additions and 16 deletions

View File

@@ -3,12 +3,16 @@ stages:
- publish
running tests for tag:
tags:
- shared
image: mcr.microsoft.com/dotnet/core/sdk:3.1
stage: test
script:
- dotnet test ./tests
publish to nuget:
tags:
- shared
only:
- /^\d*.\d*.\d*$/ # gets triggered if the commit tag is in the form n.n.n where n is any number
image: mcr.microsoft.com/dotnet/core/sdk:3.1