fix release pipeline
This commit is contained in:
Родитель
bbea3b589d
Коммит
1f3dc4b557
|
@ -13,6 +13,33 @@ pool:
|
|||
|
||||
steps:
|
||||
|
||||
# Install specific .NET sdk required by build or signing tasks
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use the .NET Core 2.1 SDK (required for build signing)'
|
||||
inputs:
|
||||
packageType: 'sdk'
|
||||
version: '2.1.x'
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Install .NET Core 2.2 SDK'
|
||||
inputs:
|
||||
packageType: 'sdk'
|
||||
version: '2.2.x'
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Install .NET Core 3.1 SDK'
|
||||
inputs:
|
||||
packageType: 'sdk'
|
||||
version: '3.1.x'
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Install .NET Core 5.0 SDK'
|
||||
inputs:
|
||||
packageType: 'sdk'
|
||||
version: '5.0.x'
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Install .NET Core 7.0 SDK'
|
||||
inputs:
|
||||
packageType: 'sdk'
|
||||
version: '7.0.x'
|
||||
|
||||
# Start by restoring all the dependencies.
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'Restore nuget dependencies'
|
||||
|
@ -42,13 +69,6 @@ steps:
|
|||
configuration: Release
|
||||
msbuildArgs: /p:GITHUB_RUN_NUMBER=$(Build.BuildId) /p:ContinuousIntegrationBuild=true
|
||||
|
||||
# Install specific .NET sdk required by the signing tasks
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use the .NET Core 2.1 SDK (required for build signing)'
|
||||
inputs:
|
||||
packageType: 'sdk'
|
||||
version: '2.1.x'
|
||||
|
||||
# Manifest Generator Task
|
||||
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
|
||||
displayName: 'Manifest Generator '
|
||||
|
|
Загрузка…
Ссылка в новой задаче