-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
28 lines (23 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
version: 0.0.{build}
image: Visual Studio 2017
before_build:
- cmd: cd src
build_script:
- cmd: dotnet restore
- cmd: dotnet build --configuration Release --version-suffix %APPVEYOR_REPO_COMMIT% -p:Version=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack AutoUpdate.Abstraction\AutoUpdate.Abstraction.csproj --configuration Release --include-symbols --no-build -p:PackageVersion=%APPVEYOR_BUILD_VERSION%-beta
- cmd: dotnet pack AutoUpdate.Shared\AutoUpdate.Shared.csproj --configuration Release --include-symbols --no-build -p:PackageVersion=%APPVEYOR_BUILD_VERSION%-beta
- cmd: dotnet pack AutoUpdate.Core\AutoUpdate.Core.csproj --configuration Release --include-symbols --no-build -p:PackageVersion=%APPVEYOR_BUILD_VERSION%-beta
#- cmd: dotnet pack AutoUpdate.Core\AutoUpdate.Core.csproj --configuration Release --include-symbols --no-build -p:PackageVersion=%APPVEYOR_BUILD_VERSION% --version-suffix %APPVEYOR_REPO_COMMIT%
test_script:
- cmd: dotnet test test\AutoUpdate.Core.Tests\AutoUpdate.Core.Tests.csproj --configuration Release --no-build --test-adapter-path:. --logger:Appveyor
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: NuGet
api_key:
secure: MbmfXcBlXOa/UjZj6W1UR4/OkHuqZ+TnqqUcMmA0tV0ifSkSVX41+L1XeCF46eNH
artifact: /.*\.nupkg/
skip_symbols: true
on:
branch: master