forked from RehanSaeed/Serilog.Exceptions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
55 lines (47 loc) · 1.44 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
48
49
50
51
52
53
54
55
# AppVeyor documentation https://www.appveyor.com/docs
version: '{build}'
pull_requests:
# Do not increment build number for pull requests
do_not_increment_build_number: true
nuget:
# Do not publish for pull requests
disable_publish_on_pr: true
environment:
# Set the DOTNET_SKIP_FIRST_TIME_EXPERIENCE environment variable to stop wasting time caching packages
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Disable sending usage data to Microsoft
DOTNET_CLI_TELEMETRY_OPTOUT: true
build_script:
- ps: .\build.ps1
test: off
artifacts:
# Store NuGet packages
- path: .\Artifacts\**\*.nupkg
name: NuGet
# Store xUnit Test Results
- path: .\Artifacts\**\*.xml
name: xUnit Test Results
deploy:
# Publish MyGet packages
- provider: NuGet
server: https://www.myget.org/F/serilog-exceptions/api/v2
api_key:
secure: aunGGWt32irQiOTX2wIO6e2Y5Ga0girA3xSUsmQv6E9d6ohHdbK5HJpXpmxW9QM3
# Deploy symbol packages to the MyGet symbol server
skip_symbols: false
symbol_server: https://www.myget.org/F/serilog-exceptions/symbols/api/v2/package
on:
# Only publish from the master branch
branch: master
# Publish NuGet packages
- provider: NuGet
name: production
api_key:
secure: 73eFUWSfho6pxCy1VRP1H0AYh/SFiyEREV+/ATcoj0I+sSH9dec/WXs6H2Jy5vlS
on:
# Only publish from the master branch
branch: master
# Only publish if the trigger was a Git tag
# git tag v0.1.0-beta
# git push origin --tags
appveyor_repo_tag: true