-
Notifications
You must be signed in to change notification settings - Fork 29
/
appveyor.yml
77 lines (55 loc) · 1.3 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
# master branch
-
branches:
only:
- master
init:
- git config --global core.autocrlf true
image: Visual Studio 2019
version: "{build}"
build_script:
- ps: .\build.ps1
test: off
artifacts:
- path: artifacts\output\*.nupkg
name: packages
- path: artifacts\logs
- path: artifacts\tests
# dev branch
-
branches:
only:
- dev
init:
- git config --global core.autocrlf true
image: Visual Studio 2019
version: "{build}"
build_script:
- SET VERSION_SUFFIX=-%APPVEYOR_REPO_BRANCH%%APPVEYOR_BUILD_NUMBER%
- ps: .\build.ps1
test: off
artifacts:
- path: artifacts\output\*.nupkg
name: packages
- path: artifacts\logs
- path: artifacts\tests
deploy:
- provider: NuGet
server: https://www.myget.org/F/0b0e5c5f92fe4ccbba32eec8c0bb4c22/
api_key:
secure: UAYBSvPmTiXAgAzxVTG1XcQKqD6gkGVT5Y7zpVycpw86vd7U+G1e47ufZVLEDobt
artifact: packages
# all other branches
-
init:
- git config --global core.autocrlf true
image: Visual Studio 2019
version: "{build}"
build_script:
- SET VERSION_SUFFIX=-%APPVEYOR_REPO_BRANCH%%APPVEYOR_BUILD_NUMBER%
- ps: .\build.ps1
test: off
artifacts:
- path: artifacts\output\*.nupkg
- path: artifacts\logs
- path: artifacts\tests