-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
27 lines (23 loc) · 1.16 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
image: Visual Studio 2022
install:
# .NET Core SDK binaries
- ps: $urlCurrent = "https://download.visualstudio.microsoft.com/download/pr/8e55ce37-9740-41b7-a758-f731043060da/4b8bfd4aad9d322bf501ca9e473e35c5/dotnet-sdk-6.0.101-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"
build_script:
- ps: MSBuild -restore /v:m /p:configuration=Release /p:ContinuousIntegrationBuild=true /p:Version=$($env:appveyor_build_version)
artifacts:
- path: src\**\*$(APPVEYOR_BUILD_VERSION).nupkg
name: NuGet package
deploy:
- provider: NuGet
artifact: /NuGet/
api_key:
secure: ykKSUjAVYCP1SdG2u5b7S7jiRhFrTBbnwdvwLYmY6T6sivZk33zHuPEQGQz6gp7X
on:
branch: master
appveyor_repo_commit_message_extended: /\[release\]/