forked from sillsdev/enchantdotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
33 lines (32 loc) · 800 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
version: '{build}'
branches:
only:
- main
image: Visual Studio 2019
init:
- cmd: >-
set GITVERSION_BUILD_NUMBER=%APPVEYOR_BUILD_NUMBER%
if defined APPVEYOR_PULL_REQUEST_NUMBER set GitVersion_NoNormalizeEnabled=true
nuget:
disable_publish_on_pr: true
disable_publish_octopus: true
before_build:
- cmd: >-
if defined APPVEYOR_PULL_REQUEST_NUMBER git checkout -b PR-%APPVEYOR_PULL_REQUEST_NUMBER%
build:
project: build/enchantdotnet.proj
publish_nuget: true
publish_nuget_symbols: true
use_snupkg_format: true
verbosity: minimal
artifacts:
- path: output/*nupkg
name: nuget
deploy:
- provider: Environment
name: sil-lsdev nuget
notifications:
- provider: GitHubPullRequest
on_build_success: false
on_build_failure: false
on_build_status_changed: false