-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappveyor.yml
35 lines (27 loc) · 956 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
35
version: '1.2.{build}.0'
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
before_build:
- dotnet restore src\LightCollections.sln
build_script:
- cmd: dotnet build src\LightCollections.sln --configuration Release /p:SourceLinkCreate=true /p:IncludeSymbols=true /p:IncludeSource=true /v:n
test:
# assemblies to test - optional
assemblies:
- '**\*.tests.dll'
after_build:
- ps: |
dotnet pack src\Blondin.LightCollections --no-build --configuration Release /p:Version="$ENV:APPVEYOR_BUILD_VERSION" -o ..\.. --include-symbols --include-source
artifacts:
path: 'Blondin.LightCollections*.nupkg'
deploy:
provider: NuGet
api_key:
secure: gxgbRUyy+x18DPZw8UkrP7XJL+8J1Uz9b4GmpL0XNmGs+AB48Kf3UEUEWujfz+5G
artifact: /Blondin.LightCollections.*\.nupkg/
skip_symbols: false