Browse Source

added use dotnet task

flabbet 3 years ago
parent
commit
760cdc91e0
2 changed files with 10 additions and 0 deletions
  1. 4 0
      windows-x64-release.yml
  2. 6 0
      windows-x86-release.yml

+ 4 - 0
windows-x64-release.yml

@@ -18,6 +18,10 @@ variables:
   buildConfiguration: 'Release'
   buildConfiguration: 'Release'
 
 
 steps:
 steps:
+- task: UseDotNet@2
+  inputs:
+    packageType: 'sdk'
+    version: '6'
 - task: NuGetToolInstaller@1
 - task: NuGetToolInstaller@1
 
 
 - task: NuGetCommand@2
 - task: NuGetCommand@2

+ 6 - 0
windows-x86-release.yml

@@ -17,6 +17,12 @@ variables:
   buildConfiguration: 'Release'
   buildConfiguration: 'Release'
 
 
 steps:
 steps:
+
+- task: UseDotNet@2
+  inputs:
+    packageType: 'sdk'
+    version: '6'
+
 - task: NuGetToolInstaller@1
 - task: NuGetToolInstaller@1
 
 
 - task: NuGetCommand@2
 - task: NuGetCommand@2