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