-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
73 lines (60 loc) · 2.25 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
skip_tags: true
skip_commits:
files:
- '**/*.md'
- images/*
matrix:
fast_finish: true
image: Previous Visual Studio 2017 #Visual Studio 2017 #use workaround image until https://github.com/appveyor/ci/issues/1404 is resolved
environment:
matrix:
# First build
- DotNetRunTime: net461
# Second build
- DotNetRunTime: netcoreapp2.0
#---------------------------------#
# restore nuget packages #
#---------------------------------#
before_build:
- cmd: dotnet restore src\ServiceBus.AttachmentPlugin.KeyVaultProvider.sln
- cmd: echo %appveyor_build_version%
#---------------------------------#
# build configuration #
#---------------------------------#
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
build:
parallel: true # enable MSBuild parallel builds
project: src\ServiceBus.AttachmentPlugin.KeyVaultProvider.sln # path to Visual Studio project
# MSBuild verbosity level
verbosity: normal # quiet|minimal|normal|detailed
test:
assemblies:
only:
- '**\*.tests.dll'
after_build:
## 7z ServiceBus.AttachmentPlugin.KeyVaultProvider-%GitVersion_MajorMinorPatch%.zip %APPVEYOR_BUILD_FOLDER%\src\KeyVaultProvider\bin\Release\*.*
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: '**\*.nupkg'
name: 'ServiceBusExplorer-%GitVersion_MajorMinorPatch%'
#---------------------------------#
# GitHub PR notifications #
#---------------------------------#
notifications:
- provider: GitHubPullRequest
auth_token:
secure: QiboiypKc3UfEPsFVUDidWITZNKGxFul+YH4mgI3QcEqs+6dCLTRbaA5Z8Ft+hNx # encrypted token from GitHub
template: "{{#passed}}:white_check_mark:{{/passed}}{{#failed}}:x:{{/failed}} [Build {{&projectName}} {{buildVersion}} {{status}}]({{buildUrl}}) (commit {{commitUrl}} by @{{&commitAuthorUsername}})"
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
provider: NuGet
api_key:
secure: 5kky7fZms6Hzm+C0+9P2Zskjb4qR6H/dKVlGvnqrax0eImpHf6TlhORrSa/bPurx # encrypted ServiceBus.AttachmentPlugin.KeyVaultProvider API key
artifact: /.*\.nupkg/
on:
branch: master