-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
37 lines (26 loc) · 894 Bytes
/
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
version: '{build}'
image: Visual Studio 2019
branches:
only:
- master
cache:
- packages -> ./src/Seq.App.Mailgun/Seq.App.Mailgun.csproj
configuration: Release
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
before_build:
- cmd : dotnet --version
- cmd : dotnet restore ./src/Seq.App.Mailgun/Seq.App.Mailgun.csproj --verbosity m
build_script:
- cmd: dotnet publish ./src/Seq.App.Mailgun/Seq.App.Mailgun.csproj -o ./src/Seq.App.Mailgun/bin/publish --no-restore
- cmd: dotnet pack ./src/Seq.App.Mailgun/Seq.App.Mailgun.csproj --no-restore -p:PackageVersion=1.0.%APPVEYOR_BUILD_VERSION%
artifacts:
- path: \src\Seq.App.Mailgun\bin\${configuration}\*.nupkg
name: NuGet
deploy:
- provider: NuGet
api_key:
secure: x1md/o4c+boFAkz20d2FUuNiRUSFJ+7JI92WHkYBoES70DCiJN+ysIXyFAo1IKNf
artifact: NuGet