/
.appveyor.yml
51 lines (51 loc) · 1.61 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: 2.2.5.{build}
init:
- git config --global core.autocrlf input
clone_depth: 1
branches:
only:
- master
- appveyor
- /^feature\/.*/
install:
- ps: iwr https://get.dot.net/v1/dotnet-install.ps1 -outfile dotnet-install.ps1
- ps: .\dotnet-install.ps1 -Version 2.1.300 -InstallDir $env:ProgramFiles/dotnet
build_script:
- ps: .\build.ps1 -IsOfficialBuild
- ps: .\docs\generate.ps1 -NoBuild -Verbose
environment:
KEYVAULT_CLIENT_SECRET:
secure: Y89qXSB30HLwCrA53cB7Tic3a8GxsTxv8SdhyvU96ROKS8zX9Lf1FWnhEMIal2mo
GITHUB_ACCESS_TOKEN:
secure: 7gza5cyC0Fwp5LcFPz9dGMcHXP2jxbrnu7er9R/HkdvnhzGJVADvOtfYO7+Vow5p
global:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
test: off
os: Visual Studio 2017
artifacts:
- path: 'artifacts\*.nupkg'
name: Packages
type: NuGetPackages
after_deploy:
- ps: .\docs\push.ps1 -AppVeyor
deploy:
- provider: NuGet
name: myget
artifact: Packages
server: https://www.myget.org/F/natemcmaster/api/v2/package
symbol_server: https://www.myget.org/F/natemcmaster/api/v2/package
on:
branch: master
api_key:
secure: KF1yGk4IHJyyfiHfFSCxJ+p5iZX+KPfCTnCihjD5iIZjasTS1lHeilpbaon4wvcM
- provider: GitHub
description: 'See https://github.com/natemcmaster/CommandLineUtils/blob/master/CHANGELOG.md for details'
auth_token:
secure: 7gza5cyC0Fwp5LcFPz9dGMcHXP2jxbrnu7er9R/HkdvnhzGJVADvOtfYO7+Vow5p
artifact: Packages
draft: false
prerelease: false
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only