Skip to content

Commit 573191b

Browse files
authored
CI jobs - allow preview versions of .NET (#18648)
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
1 parent d0196df commit 573191b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines-PR.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ stages:
118118
inputs:
119119
packageType: sdk
120120
useGlobalJson: true
121-
includePreviewVersions: false
121+
includePreviewVersions: true
122122
workingDirectory: $(Build.SourcesDirectory)
123123
installationPath: $(Build.SourcesDirectory)/.dotnet
124124
- script: .\eng\test-determinism.cmd -configuration Debug

0 commit comments

Comments
 (0)