lucidiot/NullSharp
lucidiot
/
NullSharp
Archived
1
0
Fork 0
This repository has been archived on 2022-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
NullSharp/.gitlab-ci.yml

21 lines
460 B
YAML
Raw Permalink Normal View History

2019-09-22 17:11:05 +00:00
image: mcr.microsoft.com/dotnet/core/sdk:2.1
2019-04-08 01:55:35 +00:00
stages:
- test
- deploy
nullsharp-test:
stage: test
before_script:
- dotnet restore
script:
- dotnet test NullSharpTests
nullsharp-deploy:
stage: deploy
only:
- master@Lucidiot/NullSharp
when: manual
script:
- dotnet pack -c Release
- find . -type f -name '*.nupkg' -not -path '*/.git/*' | xargs -n1 dotnet nuget push -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY