forked from joaope/LocalAppVeyor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (38 loc) · 1.29 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
image: Visual Studio 2017
version: 0.5.1+appveyor.{build}
init:
- dotnet --info
- git config --global core.autocrlf true
configuration: release
build_script:
- dotnet build src\LocalAppVeyor.Engine --configuration %configuration%
- dotnet build src\LocalAppVeyor --configuration %configuration%
after_build:
- dotnet pack src\LocalAppVeyor.Engine --configuration %configuration% --output out_engine
- dotnet pack src\LocalAppVeyor --configuration %configuration% --output out_console
test_script:
- dotnet test tests\LocalAppVeyor.Engine.UnitTests\LocalAppVeyor.Engine.UnitTests.csproj --configuration %configuration%
artifacts:
- path: src\LocalAppVeyor.Engine\out_engine\*.nupkg
name: engine_packages
- path: src\LocalAppVeyor\out_console\*.nupkg
name: console_packages
deploy:
- provider: NuGet
api_key:
secure: 5tGafPyxJmP3WyC7bjI7bViV45eIqB6f43p6326+FSRkbZFnfTCt0k5xHxFT5ULj
on:
branch: master
appveyor_repo_tag: true
configuration: release
skip_symbols: true
artifact: engine_packages
- provider: NuGet
api_key:
secure: 9blRHAdK46w0k9LsDyqa7fnKwLDqVfX4sRDamTq0rffK1W3LCsIwwJUKCSW9uXsm
on:
branch: master
appveyor_repo_tag: true
configuration: release
skip_symbols: true
artifact: console_packages