-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
30 lines (30 loc) · 859 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: 1.0.0-{build}
branches:
only:
- master
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2019
environment:
APPVEYOR_CONSOLE_DISABLE_PTY: true
build_script:
- ps: .\build\build.ps1 $env:APPVEYOR_BUILD_VERSION $env:APPVEYOR_REPO_TAG_NAME
#before_test:
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#test_script:
#- ps: |
# if ($true)
# {
# .\build\test.ps1
# }
artifacts:
- path: '.\artifacts\*.nupkg'
deploy:
- provider: NuGet
api_key:
secure: yc/gQNTv1/CbW+NYNpSF0SEOAAVVPr96aLb7kWWE764XGrDlG/ijBXyzQ+g6EnFN
skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only