-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
53 lines (43 loc) · 1.05 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
version: '1.3.{build}'
image: Visual Studio 2019
assembly_info:
patch: true
file: AssemblyInfo.*
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:
project: .
branches:
only:
- main
init:
- cmd: git config --global core.autocrlf true
before_build:
- cmd: dotnet --version
- cmd: dotnet clean .
- cmd: dotnet restore . --verbosity m
- cmd: nuget restore .
build_script:
- cmd: dotnet pack -c release .
# 1. Regenerate AppVeyor Api Key
# https://www.nuget.org/account/apikeys
# 2. Encrypt configuration data
# https://ci.appveyor.com/tools/encrypt
# 3. Paste below
deploy:
provider: NuGet
api_key:
secure: L/RvpHgImO5Fg9k5Dlb413DIP+HRNDioCZrQDaPVP40d6pXWCTC28McvaQ1GLUNk
skip_symbols: false
artifacts:
- path: '**\IconomiApi*.nupkg'
name: nuget