You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2020/06/24 18:12:20 UTC

[lucenenet] 26/26: run-tests-on-os.yml: Added task to install .NET Core SDK 2.1

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit cc63141bedaf6db47a8644a5ad8f2cf62c90fbeb
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Wed Jun 24 22:50:12 2020 +0700

    run-tests-on-os.yml: Added task to install .NET Core SDK 2.1
---
 build/azure-templates/run-tests-on-os.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/build/azure-templates/run-tests-on-os.yml b/build/azure-templates/run-tests-on-os.yml
index f46698e..5b20620 100644
--- a/build/azure-templates/run-tests-on-os.yml
+++ b/build/azure-templates/run-tests-on-os.yml
@@ -58,6 +58,12 @@ steps:
     version: 3.1.301
   condition: and(succeeded(), contains('${{ parameters.framework }}', 'netcoreapp3.'))
 
+- task: UseDotNet@2
+  displayName: 'Use .NET Core sdk 2.1.807'
+  inputs:
+    version: 2.1.807
+  condition: and(succeeded(), contains('${{ parameters.framework }}', 'netcoreapp2.'))
+
 - task: DownloadBuildArtifacts@0
   displayName: 'Download Build Artifacts: ${{ parameters.binaryArtifactName }}'
   inputs: