-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
37 lines (37 loc) · 1.33 KB
/
appveyor.yml
File metadata and controls
37 lines (37 loc) · 1.33 KB
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
version: '{build}'
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
## temporary until 2.1 sdk is installed
##install:
## - ps: $urlCurrent = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/2.1.300/dotnet-sdk-2.1.300-win-x64.zip"
## - ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
## - ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
## - ps: $tempFileCurrent = [System.IO.Path]::GetTempFileName()
## - ps: (New-Object System.Net.WebClient).DownloadFile($urlCurrent, $tempFileCurrent)
## - ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFileCurrent, $env:DOTNET_INSTALL_DIR)
## - ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\Build.ps1
test: off
artifacts:
- path: .\artifacts\**\*.nupkg
name: NuGet
deploy:
- provider: NuGet
server: https://www.myget.org/F/dsmalik/api/v2/package
api_key:
secure: Ro9IveTmWauY2HSOTVg48Ex3GMJoXQ3lEDlVCY7Tjd2innB/QrbG7PzeghDPeEtf
skip_symbols: false
symbol_server: https://www.myget.org/F/dsmalik/symbols/api/v2/package
on:
branch: master
- provider: NuGet
name: production
skip_symbols: true
api_key:
secure: JWNbcRgbLsnCc2/c2DhgZOKMiGFosSpUJu5PJE7CBKRIQqsmJpEBQy8knsqfYZMX
on:
appveyor_repo_tag: true