forked from justcoding121/titanium-web-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
80 lines (64 loc) · 1.97 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# 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: 3.1.{build}
image: Visual Studio 2019
shallow_clone: false
#---------------------------------#
# 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
#set file change to watch so that cache can be invalidated on demand.
cache: .build\cleanup-cache.txt
# to run your custom scripts instead of automatic MSBuild
build_script:
- cmd: build.bat
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
# to disable automatic tests
test: on
test_script:
- cmd: test.bat
# skip building commits that add tags (such as release tag)
skip_tags: true
skip_commits:
author: buildbot171
files:
- docs/*
- .vscode/*
- README.md
- LICENSE
#---------------------------------#
# artifacts configuration #
#---------------------------------#
nuget:
disable_publish_on_pr: true # disable publishing of .nupkg artifacts to account/project feeds for pull request builds
artifacts:
- path: '**\Titanium.Web.Proxy.*.nupkg'
environment:
github_access_token:
secure: mZLeq0GTB9kb5b6+HnVpJB6hhiYMJIQ2+Zf/DwZ/LEIyxJaYB1nx36aGHXE9q1cN
github_email:
secure: iBJZGqxyiHVNeYI0uIW+MdGd3I3pg8brJtETNRkKe/A=
nuget_access_token:
secure: OO7/GRKfrScfh1Z92UxFEuBuXUM0WlPv2RMzCL6WnYAMByhiyWC2e1ezy34r/Lc6
deploy:
- provider: GitHub
auth_token: $(github_access_token)
on:
branch: /(stable|beta)/
- provider: NuGet
api_key: $(nuget_access_token)
on:
branch: /(stable|beta)/