deploy: makes tests only run for tags to prevent api rate-limit

This commit is contained in:
Matthias Langhard
2021-05-24 20:48:52 +02:00
parent 1a4414ad2c
commit e63d357d36

View File

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