-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
61 lines (45 loc) · 1.28 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
# http://www.appveyor.com/docs/appveyor-yml
environment:
base_version: 2.2.1
# version format
version: $(base_version).{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.2.1 --no-cache
before_build:
- dotnet restore ./build/_build.csproj
build_script:
- nuke Release --isrc true --buildno "%APPVEYOR_BUILD_NUMBER%"
test: off
-
# 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.2.1 --no-cache
before_build:
- dotnet restore ./build/_build.csproj
build_script:
- nuke Release --isrc false --buildno "%APPVEYOR_BUILD_NUMBER%" --version "%base_version%"
test: off
artifacts:
- path: src\MeasureMap\bin\Release\netstandard2.0\MeasureMap.dll
name: MeasureMap.dll
- path: src\MeasureMap\bin\Release\netstandard2.0\MeasureMap.xml
name: MeasureMap.xml
# pushing all *.nupkg files in directory
- path: 'src\MeasureMap\bin\Release\*.nupkg'