-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
77 lines (60 loc) · 1.93 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
# http://www.appveyor.com/docs/appveyor-yml
environment:
base_version: 1.0.7
# version format
version: $(base_version).{build}
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
# branches to build
image:
- Visual Studio 2022
for:
-
# branches to build
branches:
# whitelist
only:
- dev
# Do not build on tags (GitHub only)
skip_tags: true
install:
- dotnet tool install Nuke.GlobalTool --global --version 6.0.1 --no-cache
before_build:
- dotnet restore ./build/_build.csproj
build_script:
- nuke FullBuild --isrc true --version "%base_version%" --buildno "%APPVEYOR_BUILD_NUMBER%"
-
# branches to build
branches:
# whitelist
only:
- master
# Do not build on tags (GitHub only)
skip_tags: true
install:
- dotnet tool install Nuke.GlobalTool --global --version 6.0.1 --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\Gaucho\bin\Release\netstandard2.1\Gaucho.dll
name: Gaucho.dll
- path: src\Gaucho\bin\Release\netstandard2.1\Gaucho.xml
name: Gaucho.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