-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
appveyor.yml
33 lines (33 loc) · 1.07 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
# environment variables
environment:
path_to_sln: src/src.sln
skip_tags: true
install:
- choco install gitversion.portable -pre -y
- cinst gitlink -version 2.4.1 -y
- cinst dotnetcore-sdk --version 2.1.804
- cinst dotnetcore-sdk --version 3.1.101
- dotnet new -i Microsoft.AspNetCore.Blazor.Templates
image: Visual Studio 2019 Preview
assembly_info:
patch: false
before_build:
- ps: gitversion /l console /output buildserver
- cmd: msbuild %path_to_sln% /t:restore /p:PackageVersion=%GitVersion_FullSemVer%
- cmd: dotnet restore %path_to_sln%
build:
project: '%path_to_sln%'
verbosity: minimal
after_build:
- cmd: gitlink . -u https://github.com/%APPVEYOR_REPO_NAME% -b %APPVEYOR_REPO_BRANCH% -s %APPVEYOR_REPO_COMMIT% -f %path_to_sln%
- cmd: msbuild %path_to_sln% /t:Pack /p:PackageVersion=%GitVersion_FullSemVer%
artifacts:
- path: /src/**/*.nupkg
- path: /src/**/*.snupkg
deploy:
provider: NuGet
server:
api_key:
secure: u8JpW5kkti8pMi+ra2QcXTJPhkHCA8pkKSiiZOJbcS/vFVHNvF3W8qw1Fy2If6a7
skip_symbols: false
symbol_server: