提交 aa301eef 编写于 作者: B Bruce Forstall 提交者: GitHub

Fix format job; build with the same dotnet CLI that jitutils uses (dotnet/coreclr#27871)



Commit migrated from https://github.com/dotnet/coreclr/commit/0dd1f6cb8c0267f214ace5704ffef7a4a8d055eb
上级 45dc2055
......@@ -24,10 +24,14 @@ jobs:
displayName: ${{ format('Formatting {0}{1} {2}', parameters.osGroup, parameters.osSubgroup, parameters.archType) }}
helixType: 'format'
steps:
- task: DotNetCoreInstaller@0
- task: UseDotNet@2
# This should match what jitutils YML uses to build.
displayName: 'Install .NET Core SDK'
inputs:
packageType: 'sdk'
version: '2.1.402'
version: '3.x'
includePreviewVersions: true
installationPath: $(Agent.ToolsDirectory)/dotnet
- task: PythonScript@0
displayName: Run tests/scripts/format.py
inputs:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册