Adjust netcore ci
This commit is contained in:
Родитель
6449e5deef
Коммит
bf8310305f
|
@ -8,16 +8,18 @@ jobs:
|
|||
variables:
|
||||
NUGET_PACKAGES: $(build.sourcesdirectory)/.nuget
|
||||
VersionCodeOffset: 400559 # last value for the APK release
|
||||
DotnetRuntimePath: /usr/share/dotnet
|
||||
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .Net Core runtime 2.2.0'
|
||||
displayName: 'Use .Net Core runtime 2.2.x'
|
||||
inputs:
|
||||
packageType: runtime
|
||||
version: 2.2.0
|
||||
version: 2.2.x
|
||||
installationPath: '$(DotnetRuntimePath)'
|
||||
|
||||
- task: nventiveCanaryUpdater@5
|
||||
displayName: 'Canary Update'
|
||||
|
@ -30,6 +32,13 @@ jobs:
|
|||
nugetUpdaterVersion: 2.0.6
|
||||
packageAuthor: nventive
|
||||
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .Net Core runtime 2.1.0'
|
||||
inputs:
|
||||
packageType: runtime
|
||||
version: 2.1.0
|
||||
installationPath: '$(DotnetRuntimePath)'
|
||||
|
||||
- task: GitVersion@5
|
||||
inputs:
|
||||
useConfigFile: true
|
||||
|
@ -54,19 +63,12 @@ jobs:
|
|||
|
||||
displayName: 'Apply Emscripten Mono patches'
|
||||
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .NET Core sdk'
|
||||
inputs:
|
||||
packageType: sdk
|
||||
version: 2.2.x
|
||||
installationPath: $(Agent.ToolsDirectory)/dotnet
|
||||
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .NET Core sdk'
|
||||
inputs:
|
||||
packageType: sdk
|
||||
version: 3.0.x
|
||||
installationPath: $(Agent.ToolsDirectory)/dotnet
|
||||
installationPath: '$(DotnetRuntimePath)'
|
||||
|
||||
- task: GitVersion@5
|
||||
inputs:
|
||||
|
|
Загрузка…
Ссылка в новой задаче