-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (45 loc) · 1.22 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
image: Visual Studio 2017
branches:
only:
- master
- develop
- /features\/.+/
environment:
# No need to pre-warm the `NuGet` cache
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# AppVeyor will create a release tag if a matching one does not exist
# hence triggering another build
skip_tags: true
skip_commits:
files:
- LICENSE
- README.md
assembly_info:
# We'll version the binaries and the NuGet package in the build script
patch: false
install:
# The `SDK` is included in the `Visual Studio 2017` image
# https://www.appveyor.com/docs/windows-images-software/#net-framework
- ps: dotnet tool install -g Cake.Tool --version 0.33.0
before_build:
- ps: dotnet --version
build_script:
# Download/install modules defined by #module directives
- ps: dotnet cake build.cake --bootstrap
# Run cake script
- ps: dotnet cake build.cake --pack
after_build:
# For once the build has completed
test: off
artifacts:
- path: artifacts\packages\*.nupkg
name: packages
deploy:
- provider: NuGet
name: production
artifacts: packages
api_key:
secure: e8rx6aag0rdbm8ZBgUGCqP/I+fhdslB79ftwLk8fXcdgyBRXPEKOjQozFycWpX2m
# release from master branch only
on:
branch: master