-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
63 lines (48 loc) · 1.39 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
# http://www.appveyor.com/docs/appveyor-yml
environment:
base_version: 2.3.0
# version format
version: $(base_version).{build}
image:
- Visual Studio 2022
skip_tags: true
branches:
only:
- master
- dev
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 --no-cache
before_build:
- dotnet restore ./build/_build.csproj
build_script:
- nuke Release --isrc true --version "%base_version%" --buildno "%APPVEYOR_BUILD_NUMBER%" --configuration Release
-
# branches to build
branches:
# whitelist
only:
- master
# Do not build on tags (GitHub only)
skip_tags: true
install:
- dotnet tool install Nuke.GlobalTool --global --no-cache
before_build:
- dotnet restore ./build/_build.csproj
build_script:
- nuke Release --isrc false --version "%base_version%" --buildno "%APPVEYOR_BUILD_NUMBER%" --configuration Release
artifacts:
- path: src\Polaroider\bin\Release\netstandard2.0\Polaroider.dll
name: Polaroider.dll
- path: src\Polaroider\bin\Release\netstandard2.0\Polaroider.xml
name: Polaroider.xml
# pushing all *.nupkg files in directory
- path: 'src\**\*.nupkg'