-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
44 lines (36 loc) · 2.4 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
image: Visual Studio 2022
nuget:
project_feed: true
install:
# .NET Core SDK binaries
- ps: $urlCurrent = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/5.0.2xx/dotnet-sdk-latest-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: $env:MinorVersion = "0.$($env:appveyor_build_number)"
- ps: dotnet pack src/Core/14.0/Community.VisualStudio.Toolkit.DependencyInjection.Core.14.0.csproj /p:configuration=Release /p:ContinuousIntegrationBuild=true
- ps: dotnet pack src/Core/15.0/Community.VisualStudio.Toolkit.DependencyInjection.Core.15.0.csproj /p:configuration=Release /p:ContinuousIntegrationBuild=true
- ps: dotnet pack src/Core/16.0/Community.VisualStudio.Toolkit.DependencyInjection.Core.16.0.csproj /p:configuration=Release /p:ContinuousIntegrationBuild=true
- ps: dotnet pack src/Core/17.0/Community.VisualStudio.Toolkit.DependencyInjection.Core.17.0.csproj /p:configuration=Release /p:ContinuousIntegrationBuild=true
- ps: dotnet pack src/Microsoft/14.0/Community.VisualStudio.Toolkit.DependencyInjection.Microsoft.14.0.csproj /p:configuration=Release /p:ContinuousIntegrationBuild=true
- ps: dotnet pack src/Microsoft/15.0/Community.VisualStudio.Toolkit.DependencyInjection.Microsoft.15.0.csproj /p:configuration=Release /p:ContinuousIntegrationBuild=true
- ps: dotnet pack src/Microsoft/16.0/Community.VisualStudio.Toolkit.DependencyInjection.Microsoft.16.0.csproj /p:configuration=Release /p:ContinuousIntegrationBuild=true
- ps: dotnet pack src/Microsoft/17.0/Community.VisualStudio.Toolkit.DependencyInjection.Microsoft.17.0.csproj /p:configuration=Release /p:ContinuousIntegrationBuild=true
test: off
artifacts:
- path: src\**\*.nupkg
name: NuGet package
- path: src\**\*.snupkg
name: Symbol package
deploy:
- provider: NuGet
artifact: /NuGet/
api_key:
secure: TCK4iz4NnVAK6iAZbpocgig7CBxDTywbtFXcj61NfCr2aEHkT1mPuSj7/yLEkkp9
on:
branch: master
appveyor_repo_commit_message_extended: /\[release\]/