forked from justcoding121/advanced-algorithms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
63 lines (48 loc) · 1.58 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# AppVeyor CI build file
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
# version format
version: 0.0.{build}
image: Visual Studio 2017
shallow_clone: true
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
# to run your custom scripts instead of automatic MSBuild
build_script:
- cmd: .\build.bat Package
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
# to disable automatic tests
test: on
# skip building commits that add tags (such as release tag)
skip_tags: true
#---------------------------------#
# artifacts configuration #
#---------------------------------#
nuget:
disable_publish_on_pr: true # disable publishing of .nupkg artifacts to account/project feeds for pull request builds
artifacts:
- path: '**\Advanced.Algorithms.*.nupkg'
deploy:
- provider: GitHub
auth_token:
secure: ItVm+50ASpDXx1w+FCe2NTpZxqCbjRWfugLjk/bqBIi00DvPnSGOV1rIQ5hnwBW3
on:
branch: /(stable|beta)/
- provider: NuGet
api_key:
secure: ZbRmjOcp+TDllRV1wxqLZjdRV7hld388rXlWVJuGGiQleomP9Ku+Nsy3a75E7/9k
on:
branch: /(stable|beta)/