-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
73 lines (56 loc) · 1.84 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
# http://www.appveyor.com/docs/appveyor-yml
environment:
base_version: 1.3.0
version: $(base_version).{build}
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
image:
- Visual Studio 2022
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 FullBuild --isrc true --version "%base_version%" --buildno "%APPVEYOR_BUILD_NUMBER%"
-
branches:
# whitelist
only:
- master
# 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 FullBuild --isrc false --version "%base_version%" --buildno "%APPVEYOR_BUILD_NUMBER%"
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: src\YamlMap\bin\Release\netstandard2.0\YamlMap.dll
name: YamlMap.dll
- path: src\YamlMap\bin\Release\netstandard2.0\YamlMap.xml
name: YamlMap.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