-
Notifications
You must be signed in to change notification settings - Fork 15
/
appveyor.yml
43 lines (40 loc) · 1.1 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
version: 1.1.{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
image: Visual Studio 2017
configuration: Release
nuget:
disable_publish_on_pr: true
before_build:
- cmd: >-
appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
nuget restore -verbosity detailed
appveyor-retry nuget restore
dotnet restore
build:
publish_nuget: true
publish_nuget_symbols: true
include_nuget_references: true
parallel: true
verbosity: minimal
after_build:
- cmd: dotnet pack ./src/Serilog.Sinks.Slack.Core/ --output nupkgs
test: off
artifacts:
- path: '\nupkgs\Serilog.Sinks.Slack.Core.*.nupkg'
name: NuGet
deploy:
- provider: NuGet
api_key:
secure: vezTJ3PuB3zTp5IHFUDDL4kQm9NRXHeuBqQCVlfx1CbBBTHZ5iuLEbchqqGTeFQ+
skip_symbols: true
notifications:
- provider: Slack
incoming_webhook:
secure: FgB39fbzhvs/r/8gzaohtkaZRVB/UPV9a2lI80V+ZjgvB19qih716qcKbuZGBDgIzFfkBXxSVjNqbc3tUXt07fbOoBPNWsVtijXpr4+BIF4=
on_build_success: false
on_build_failure: true
on_build_status_changed: false