more drone config
continuous-integration/drone/push Build is passing Details

drone
Evan Hemsley 2020-02-20 14:37:22 -08:00
parent 035e7b1a1c
commit c101598872
1 changed files with 14 additions and 2 deletions

View File

@ -2,8 +2,20 @@ kind: pipeline
type: docker type: docker
name: default name: default
workspace:
path: /build
steps: steps:
- name: build - name: test
image: mcr.microsoft.com/dotnet/core/sdk:3.1 image: mcr.microsoft.com/dotnet/core/sdk:3.1
commands: commands:
- dotnet build - dotnet build -c Release
- dotnet test -c Release
- name: deploy
image: mcr.microsoft.com/dotnet/core/sdk:3.1
commands:
- dotnet nuget push /build/bin/Release/MoonTools.Core.Structs.*.nupkg -k $API_KEY -s https://api.nuget.org/v3/index.json
when:
ref:
-refs/tags/**