-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
34 lines (31 loc) · 939 Bytes
/
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
image:
- Visual Studio 2019
- Ubuntu
version: 1.0.0.{build}
configuration: Release
skip_branch_with_pr: true
assembly_info:
patch: true
file: AssemblyInfoCommon.cs;
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
build_script:
- ps: |
dotnet build -c Release
dotnet publish MarkConv.Cli/MarkConv.Cli.csproj -c Release -o bin/netcoreapp3.1 -f netcoreapp3.1
test_script:
- dotnet test "MarkConv.Tests/MarkConv.Tests.csproj" -c Release
after_test:
- ps: |
cd bin/netcoreapp3.1
7z a MarkConv-netcoreapp3.1-$env:APPVEYOR_BUILD_VERSION.zip *.dll *.config *.json runtimes
Push-AppveyorArtifact MarkConv-netcoreapp3.1-$env:APPVEYOR_BUILD_VERSION.zip