-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
24 lines (24 loc) · 940 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
version: '{build}'
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
image: Visual Studio 2017
install:
# Download .NET Core 2.1 SDK and add to PATH
- ps: $urlCurrent = "https://download.microsoft.com/download/2/A/2/2A21B61D-4D08-4E25-AB4A-7B9859300B0C/dotnet-sdk-2.1.100-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 -CreatePackages $true
test: off
artifacts:
- path: '.nupkgs'
name: NuGet