forked from Dotnet-Boxed/Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
56 lines (48 loc) · 1.44 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
52
53
54
55
56
# AppVeyor documentation https://www.appveyor.com/docs
version: '{build}'
# image: Visual Studio 2017 RC
pull_requests:
# Do not increment build number for pull requests
do_not_increment_build_number: true
environment:
# Set the DOTNET_SKIP_FIRST_TIME_EXPERIENCE environment variable to stop wasting time caching packages
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Disable sending usage data to Microsoft
DOTNET_CLI_TELEMETRY_OPTOUT: true
# The My-Get API key to publish the VSIX
MyGetApiKey:
secure: aunGGWt32irQiOTX2wIO6e2Y5Ga0girA3xSUsmQv6E9d6ohHdbK5HJpXpmxW9QM3
build_script:
- ps: .\build.ps1
test: off
artifacts:
# Store NuGet packages
- path: .\Artifacts\**\*.nupkg
name: NuGet
# Store VSIX packages
- path: .\Artifacts\**\*.vsix
name: VSIX
# Store xUnit Test Results
- path: .\Artifacts\**\*.xml
name: xUnit Test Results
deploy:
# Publish MyGet packages
- provider: NuGet
server: https://www.myget.org/F/aspnet-mvc-boilerplate/api/v2
api_key:
secure: aunGGWt32irQiOTX2wIO6e2Y5Ga0girA3xSUsmQv6E9d6ohHdbK5HJpXpmxW9QM3
on:
# Only publish from the master branch
branch: master
# Publish NuGet packages
- provider: NuGet
name: production
api_key:
secure: 73eFUWSfho6pxCy1VRP1H0AYh/SFiyEREV+/ATcoj0I+sSH9dec/WXs6H2Jy5vlS
on:
# Only publish from the master branch
branch: master
# Only publish if the trigger was a Git tag
# git tag v0.1.0-beta
# git push origin --tags
appveyor_repo_tag: true