-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
48 lines (46 loc) · 1.42 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
image: Visual Studio 2017
branches:
only:
- master
- feature/*
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
- cmd: git config --global user.email "[email protected]"
- cmd: git config --global user.name "Sudhanshu Mishra"
install:
# Install repo specific stuff here
- ps: dotnet tool install --global Cake.Tool --version 0.33.0
build_script:
- ps: dotnet cake build.cake --bootstrap
- ps: dotnet cake build.cake --pack
assembly_info:
# We'll version the binaries and the NuGet package in the build script
patch: false
# We'll run the tests in the build script
test: off
# AppVeyor will create a release tag if a matching one does not exist
# hence triggering another build
skip_tags: true
skip_commits:
files:
- .editorconfig
- LICENSE
- README.md
- .travis.yml
- .circleci/config.yml
- azure-pipelines.yml
deploy:
- provider: NuGet
server: https://www.nuget.org/api/v2/package
api_key:
secure: ElOgwhtjUx4dN75tg5V0kARwPkk6P1KA5C4h7Djea6pPalHaXuxiQfVkQ/9SEvoA
skip_symbols: false
symbol_server: https://www.nuget.org/api/v2/package
artifact: packages
on:
branch: master
environment:
# No need to pre-warm the `NuGet` cache
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# This script is adapted from Gabriel Weyer's sample: https://github.com/gabrielweyer/cake-build/