-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
46 lines (37 loc) · 1.79 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
-
branches:
except:
- release
skip_tags: true
configuration: Debug
image: Visual Studio 2017
build_script:
# - cmd: msbuild /t:restore ./src/Grafana.Api.Client.sln
#- cmd: msbuild /t:build /p:Configuration=Debug /v:Minimal ./src/Grafana.Api.Client.sln
- cmd: dotnet restore -v m ./src/Grafana.Api.Client.sln
- cmd: dotnet build -v m -c Debug ./src/Grafana.Api.Client.sln
- cmd: dotnet pack -v m --include-symbols --no-build -o ../../artifacts /p:PackageVersion=%APPVEYOR_BUILD_VERSION%-beta ./src/Grafana.Api.Client/Grafana.Api.Client.csproj
# - cmd: msbuild /t:pack /p:IncludeSymbols=true /p:Configuration=Debug /p:PackageOutputPath=../../artifacts ./src/Grafana.Api.Client/Grafana.Api.Client.csproj
- cmd: dotnet pack -v m --include-symbols --no-build -o ../../artifacts /p:PackageVersion=%APPVEYOR_BUILD_VERSION%-beta ./src/Grafana.Shared/Grafana.Shared.csproj
# - cmd: msbuild /t:pack /p:IncludeSymbols=true /p:Configuration=Debug /p:PackageOutputPath=../../artifacts ./src/Grafana.Shared/Grafana.Shared.csproj
artifacts:
- path: "./artifacts/*.*"
-
branches:
only:
- release
configuration: Release
image: Visual Studio 2017
build_script:
- cmd: dotnet restore -v m ./src/Grafana.Api.Client.sln
- cmd: dotnet build -v m -c Release ./src/Grafana.Api.Client.sln
- cmd: dotnet pack -v m --include-symbols --no-build -o ../../artifacts ./src/Grafana.Api.Client/Grafana.Api.Client.csproj
- cmd: dotnet pack -v m --include-symbols --no-build -o ../../artifacts ./src/Grafana.Shared/Grafana.Shared.csproj
artifacts:
- path: "./artifacts/*.nupkg"
deploy:
provider: NuGet
api_key:
secure: OL1e2rPl7pvWKU5NktIlh15AeO1VKbiRhrMnvBsDSJazk1LqH967R7lTymVGle9N
skip_symbols: false
artifact: /.*\.nupkg/