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 358d9cfbbde46ee6fa067809a08500c6aad8e73a Author: Shad Storhaug <[email protected]> AuthorDate: Sat Jan 8 19:09:24 2022 +0700 run-tests-on-os.yml: Install SDKs for legacy targets, if necessary, but do so after we disable telemetry --- .build/azure-templates/run-tests-on-os.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.build/azure-templates/run-tests-on-os.yml b/.build/azure-templates/run-tests-on-os.yml index 21ed49f..9500e31 100644 --- a/.build/azure-templates/run-tests-on-os.yml +++ b/.build/azure-templates/run-tests-on-os.yml @@ -79,6 +79,18 @@ steps: parameters: sdkVersion: '${{ parameters.dotNetSdkVersion }}' +- task: UseDotNet@2 + displayName: 'Use .NET Core sdk 3.1.412' + inputs: + version: 3.1.412 + condition: and(succeeded(), contains('${{ parameters.framework }}', 'netcoreapp3.')) + +- task: UseDotNet@2 + displayName: 'Use .NET sdk 5.0.400' + inputs: + version: 5.0.400 + condition: and(succeeded(), contains('${{ parameters.framework }}', 'net5.')) + #- template: 'show-all-files.yml' # Uncomment for debugging - pwsh: | $framework = '${{ parameters.framework }}'
