Newer
Older
image : mcr.microsoft.com/dotnet/sdk:5.0
stages:
- build
- test
- release
- deploy
build:
stage: build
script:
- dotnet build
test:
stage: test
script:
- dotnet test
release:
stage: release
only:
- master
artifacts:
paths:
- dotnet publish -c Release -o ../SDK SDK/SDK.csproj
- dotnet pack -c Release -p:PackageVersion=1.1.0
- dotnet nuget add source https://gitlab.twinzo.eu/api/v4/projects/189/packages/nuget/index.json -n gitlab_tDevkit -u lorant.bugar -p Yx5G3Xnp-QnVsCo4FwyJ --store-password-in-clear-text
- dotnet nuget push "SDK/bin/Release/*.nupkg" --source gitlab_tDevkit