-
Notifications
You must be signed in to change notification settings - Fork 32
/
appveyor.yml
51 lines (51 loc) · 1.27 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
version: 1.2.0.{build}
branches:
only:
- master
- release
- dev
skip_branch_with_pr: true
image: Visual Studio 2017
configuration: Release
platform: Any CPU
clone_folder: c:\projects\godsharp.serialport
install:
- cmd: nuget restore
nuget:
account_feed: true
project_feed: true
build:
project: GodSharp.SerialPort.sln
publish_nuget: false
include_nuget_references: true
verbosity: minimal
test: off
artifacts:
- path: test\GodSharp.SerialPort.ConsoleSample\bin\$(configuration)\
name: GodSharp.SerialPort.ConsoleSample-v$(appveyor_build_version)
- path: 'output\**\*.nupkg'
name: nuget
deploy:
- provider: NuGet
server: https://www.nuget.org/api/v2/package
api_key:
secure: s388/c8yQWnGyZ9v9cUDfBe4ud6MFl/ouUEEBruiN5j5+LjSQ4giGKMKuLuvglS1
artifact: /.*\.nupkg/
on:
branch: /(release)|(dev)/
- provider: NuGet
server: https://www.myget.org/F/godsharp/api/v2/package
api_key:
secure: CKm5m2qGYNYnh5yDUE2zKfN+JKBmO5xmtG80AP0yni9yPBqDOaRQ48Y/4k8KGo2y
artifact: /.*\.nupkg/
on:
branch: /(release)|(dev)/
- provider: GitHub
description: Release.
auth_token:
secure: uCHTzET52dtiexqTKhgQmup+EBGZs1Afw6eBMfvN4PbQ720YaybNd890Y96ISZ0T
artifact: /.*\.(?:nupkg|zip)/
draft: true
force_update: true
on:
branch: /(release)|(dev)/