forked from Topshelf/Topshelf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (40 loc) · 1011 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
38
39
40
41
42
43
44
branches:
only:
- develop
- master
skip_tags: true
skip_commits:
files:
- doc/*
- docs/*
- '**/*.html'
image: Visual Studio 2017
configuration: Release
platform: Any CPU
nuget:
project_feed: true
disable_publish_on_pr: true
build_script:
- cmd: >-
@echo off
cls
If Not Exist src\.nuget\nuget.exe msbuild src\.nuget\NuGet.targets -Target:RestorePackages
If Not Exist src\packages\FAKE\tools\fake.exe src\.nuget\nuget.exe Install FAKE -OutputDirectory "src\packages" -ExcludeVersion
src\packages\FAKE\tools\fake.exe build.fsx %*
artifacts:
- path: build_artifacts/*.nupkg
name: Packages
deploy:
- provider: NuGet
api_key:
secure: clmIGjybehEsndMhgboQZAko+nhtGzqlqN9LYndm2xfIhCucksq1YthP71qD8YmS
artifact: Packages
on:
branch: master
- provider: NuGet
name: Prerelease
api_key:
secure: clmIGjybehEsndMhgboQZAko+nhtGzqlqN9LYndm2xfIhCucksq1YthP71qD8YmS
artifact: Packages
on:
branch: develop