forked from khalidabuhakmeh/ConsoleTables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
34 lines (34 loc) · 871 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
31
32
33
34
image: Visual Studio 2019
version: '{build}'
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
nuget:
disable_publish_on_pr: true
build_script:
- ps: dotnet --info
# Run dotnet
- ps: dotnet restore
- ps: dotnet build -c Release
- ps: dotnet test
- ps: dotnet pack -c Release --version-suffix=$revision
test: off
artifacts:
- path: '**\*.nupkg'
name: NuGet
deploy:
provider: NuGet
server: # remove to push to NuGet.org
api_key:
secure: yAQ7mEXw5NHQ6pXxu/K097EzanAv7ti/PcWSQVxb/xrjPDiWwcgTbNZ1LwTVpNd9
skip_symbols: false
symbol_server: # remove to push symbols to SymbolSource.org
artifact: /.*\.nupkg/
on:
branch: master
appveyor_repo_tag: true