-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
79 lines (61 loc) · 1.89 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
# http://www.appveyor.com/docs/appveyor-yml
environment:
base_version: 1.2.1
version: $(base_version).{build}
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
image:
- Visual Studio 2022
skip_tags: true
branches:
only:
- main
- dev
for:
-
branches:
# whitelist
only:
- dev
# Do not build on tags (GitHub only)
skip_tags: true
install:
- dotnet tool install Nuke.GlobalTool --global --version 6.3.0 --no-cache
before_build:
- dotnet restore ./build/_build.csproj
build_script:
- nuke release --isrc true --version "%base_version%" --buildno "%APPVEYOR_BUILD_NUMBER%"
-
branches:
# whitelist
only:
- main
# Do not build on tags (GitHub only)
skip_tags: true
install:
- dotnet tool install Nuke.GlobalTool --global --version 6.3.0 --no-cache
before_build:
- dotnet restore ./build/_build.csproj
build_script:
- nuke release --isrc false --version "%base_version%" --buildno "%APPVEYOR_BUILD_NUMBER%"
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: src\WorkflowValidation\bin\Release\netstandard2.0\WorkflowValidation.dll
name: WorkflowValidation.dll
- path: src\WorkflowValidation\bin\Release\netstandard2.0\WorkflowValidation.xml
name: WorkflowValidation.xml
# pushing all *.nupkg files in directory
- path: '**\*.nupkg'
# providers: Local, FTP, WebDeploy, AzureCS, AzureBlob, S3, NuGet, Environment
# provider names are case-sensitive!
# deploy:
# Deploying to NuGet feed
# - provider: NuGet
# server: https://my.nuget.server/feed
# api_key:
# secure: UlhUOcqPXsN837S8VwqMZ+10mKTxkqlnvCS5mwSyUGkFwwukfBtvXNpX81+bjS1j
# skip_symbols: true
# symbol_server: https://your.symbol.server/feed
# artifact: MeasureMap.nupkg