25 строки
427 B
YAML
25 строки
427 B
YAML
version: '{build}'
|
|
configuration: Release
|
|
|
|
before_build:
|
|
- dotnet restore
|
|
|
|
build:
|
|
verbosity: minimal
|
|
|
|
test_script:
|
|
- cmd: dotnet test MirrorSharp.Tests
|
|
|
|
after_build:
|
|
- ps: .\dotnet-pack-all.bat
|
|
|
|
artifacts:
|
|
- path: '*.nupkg'
|
|
|
|
deploy:
|
|
- provider: NuGet
|
|
on:
|
|
branch: master
|
|
api_key:
|
|
secure: rV20COJkB2Lt/O6E7NvcdMJlHtBS8C7uuUWhFXu6XTPmEVqAeMKCDyz/yuOZwVRo
|
|
artifact: /.*\.nupkg/ |