Jelajahi Sumber

Merge pull request #4500 from oddstr13/nuget-bump-net5.0

Use .NET 5.0 in Nuget pipeline
Anthony Lavado 4 tahun lalu
induk
melakukan
c8e41adfeb
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      .ci/azure-pipelines-package.yml

+ 6 - 0
.ci/azure-pipelines-package.yml

@@ -188,6 +188,12 @@ jobs:
     vmImage: 'ubuntu-latest'
     vmImage: 'ubuntu-latest'
 
 
   steps:
   steps:
+  - task: UseDotNet@2
+    displayName: 'Use .NET 5.0 sdk'
+    inputs:
+      packageType: 'sdk'
+      version: '5.0.x'
+
   - task: DotNetCoreCLI@2
   - task: DotNetCoreCLI@2
     displayName: 'Build Stable Nuget packages'
     displayName: 'Build Stable Nuget packages'
     condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
     condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')