mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Use latest 3.1 SDK (#7141)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user