Use latest 3.1 SDK (#7141)

This commit is contained in:
junglebus 2020-02-08 20:49:36 +11:00 committed by GitHub
parent 2d56ce11b7
commit 4809ee1383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -6,6 +6,7 @@ variables:
jackettVersion: $(majorVersion).$(minorVersion).$(patchVersion) jackettVersion: $(majorVersion).$(minorVersion).$(patchVersion)
buildConfiguration: Release buildConfiguration: Release
netCoreFramework: netcoreapp3.1 netCoreFramework: netcoreapp3.1
netCoreSdkVersion: 3.1.x
stages: stages:
- stage: BuildJackett - stage: BuildJackett
@ -26,7 +27,7 @@ stages:
Windows: Windows:
buildDescription: Windows buildDescription: Windows
imageName: windows-latest imageName: windows-latest
framework: netcoreapp3.1 framework: $(netCoreFramework)
runtime: win-x86 runtime: win-x86
archiveType: zip archiveType: zip
artifactName: Jackett.Binaries.Windows.zip artifactName: Jackett.Binaries.Windows.zip
@ -68,7 +69,7 @@ stages:
displayName: Install .NET Core SDK displayName: Install .NET Core SDK
inputs: inputs:
packageType: sdk packageType: sdk
version: 3.1.100 version: $(netCoreSdkVersion)
installationPath: $(Agent.ToolsDirectory)/dotnet installationPath: $(Agent.ToolsDirectory)/dotnet
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
@ -342,7 +343,7 @@ stages:
displayName: Install .NET Core SDK displayName: Install .NET Core SDK
inputs: inputs:
packageType: sdk packageType: sdk
version: 3.1.100 version: $(netCoreSdkVersion)
installationPath: $(Agent.ToolsDirectory)/dotnet installationPath: $(Agent.ToolsDirectory)/dotnet
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2