-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
38 lines (30 loc) · 1.11 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
version: 4.0.0
environment:
nuget_token:
secure: R9ki2yIq3ulgxd84adRUOhR3cLK4onPgyNudrowxFNdIkaGWWT2BjZDvcyDrDZT2
branches:
only:
- master
skip_branch_with_pr: true
skip_tags: true
max_jobs: 1
image: Visual Studio 2019
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: "{version}"
package_version: "{version}"
assembly_version: "{version}"
file_version: "{version}"
informational_version: "{version}"
matrix:
fast_finish: true
build_script:
- cmd: dotnet restore
- cmd: dotnet build NooBIT.DataTables.sln -c Release /p:DebugType=Full
- cmd: dotnet test test\NooBIT.DataTables.Tests\NooBIT.DataTables.Tests.csproj -c Release --no-build
- cmd: dotnet pack -c Release --no-build --include-symbols -o artifacts /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet nuget push artifacts\NooBIT.DataTables.%APPVEYOR_BUILD_VERSION%.nupkg -k %nuget_token% -s https://www.nuget.org/api/v2/package
- cmd: dotnet nuget push artifacts\NooBIT.DataTables.AspNetCore.Mvc.%APPVEYOR_BUILD_VERSION%.nupkg -k %nuget_token% -s https://www.nuget.org/api/v2/package
test: off