Adjust build definition
This commit is contained in:
Родитель
bd4dee3a1e
Коммит
403a03ca60
|
@ -4,6 +4,9 @@ branches:
|
|||
only:
|
||||
- master
|
||||
|
||||
# Don't create a build when a PR is opened
|
||||
skip_branch_with_pr: true
|
||||
|
||||
nuget:
|
||||
disable_publish_on_pr: true
|
||||
|
||||
|
@ -19,3 +22,10 @@ build_script:
|
|||
|
||||
artifacts:
|
||||
- path: .\build\*.nupkg
|
||||
|
||||
deploy:
|
||||
provider: NuGet
|
||||
api_key:
|
||||
secure: IkXtar7GUlIHtb4exXwdX6TjQA52w9rP7Gw+VwawieVu/frS0nP/RHf+umjWbINk
|
||||
skip_symbols: true
|
||||
artifact: /.*\.nupkg/
|
32
AppVeyor.yml
32
AppVeyor.yml
|
@ -1,32 +0,0 @@
|
|||
image: Visual Studio 2017
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
# Don't create a build when a PR is opened
|
||||
skip_branch_with_pr: true
|
||||
|
||||
nuget:
|
||||
disable_publish_on_pr: true
|
||||
|
||||
skip_commits:
|
||||
files:
|
||||
- 'doc/**/*.*'
|
||||
|
||||
init:
|
||||
- ps: git config --global core.autocrlf true
|
||||
|
||||
build_script:
|
||||
- ps: .\build\build.ps1 -Script="build\build.cake"
|
||||
|
||||
artifacts:
|
||||
- path: .\build\*.nupkg
|
||||
|
||||
deploy:
|
||||
provider: NuGet
|
||||
server: # remove to push to NuGet.org
|
||||
api_key:
|
||||
secure: IkXtar7GUlIHtb4exXwdX6TjQA52w9rP7Gw+VwawieVu/frS0nP/RHf+umjWbINk
|
||||
skip_symbols: true
|
||||
artifact: /.*\.nupkg/
|
Загрузка…
Ссылка в новой задаче