From 6a54cb93cefd39d9d6e808acf4e57d622e9057e5 Mon Sep 17 00:00:00 2001 From: Tomas Grosup Date: Mon, 2 Jun 2025 16:18:09 +0200 Subject: [PATCH] CI jobs - allow preview versions of .NET With the move to latest arcade, we can occassionaly be getting updates to global.json which specify a preview version of .NET. As of now, such pushes will crash CI jobs that happen to use the `UseDotNet@2` task. The ones using build script work just fine as of now already. This changes the config `includePreviewVersions` for the task to allow preview versions --- azure-pipelines-PR.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-PR.yml b/azure-pipelines-PR.yml index 4e7c4394b1b..313ddee65cc 100644 --- a/azure-pipelines-PR.yml +++ b/azure-pipelines-PR.yml @@ -118,7 +118,7 @@ stages: inputs: packageType: sdk useGlobalJson: true - includePreviewVersions: false + includePreviewVersions: true workingDirectory: $(Build.SourcesDirectory) installationPath: $(Build.SourcesDirectory)/.dotnet - script: .\eng\test-determinism.cmd -configuration Debug