File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed
Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,11 @@ jobs:
7070 pip install doc-warden==$(DocWardenVersion)
7171 ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/eng/.docsettings.yml
7272 displayName: "Verify Readmes"
73- - task : DownloadPipelineArtifact@2
74- displayName : " Download Build Artifacts"
75- condition : succeededOrFailed()
73+ - task : UseDotNet@2
74+ displayName : " Use .NET Core runtime $(DotNetCoreRuntimeVersion)"
7675 inputs :
77- artifact : packages
78- path : $(Pipeline.Workspace)/packages
79- patterns : " *.nupkg"
76+ packageType : runtime
77+ version : " $(DotNetCoreRuntimeVersion)"
8078 - template : /eng/common/pipelines/templates/steps/verify-path-length.yml
8179 parameters :
8280 SourceDirectory : $(Build.SourcesDirectory)
@@ -136,6 +134,11 @@ jobs:
136134 vmImage : " $(OSVmImage)"
137135 steps :
138136 - template : /eng/common/pipelines/templates/steps/verify-agent-os.yml
137+ - task : UseDotNet@2
138+ displayName : " Use .NET Core runtime $(DotNetCoreRuntimeVersion)"
139+ inputs :
140+ packageType : runtime
141+ version : " $(DotNetCoreRuntimeVersion)"
139142 - script : >-
140143 dotnet test eng/service.proj --filter TestCategory!=Live --framework $(TestTargetFramework) --logger "trx;LogFileName=$(TestTargetFramework).trx" --logger:"console;verbosity=normal"
141144 /p:ServiceDirectory=${{parameters.ServiceToBuild}} /p:IncludeSrc=false /p:IncludeSamples=false /p:Configuration=$(BuildConfiguration) $(ConvertToProjectReferenceOption) /p:CollectCoverage=$(CollectCoverage)
Original file line number Diff line number Diff line change 5555
5656 - template : /eng/common/pipelines/templates/steps/verify-agent-os.yml
5757
58+ - task : UseDotNet@2
59+ displayName : " Use .NET Core runtime $(DotNetCoreRuntimeVersion)"
60+ inputs :
61+ packageType : runtime
62+ version : " $(DotNetCoreRuntimeVersion)"
63+
5864 - template : /eng/common/TestResources/deploy-test-resources.yml
5965 parameters :
6066 Location : ${{ parameters.Location }}
Original file line number Diff line number Diff line change 11steps :
2- - task : UseDotNet@2
3- displayName : " Use .NET Core sdk $(DotNetCoreSDKVersion)"
4- inputs :
5- version : $(DotNetCoreSDKVersion)
62 - pwsh : |
73 # Download and Extract or restore Packages required for Doc Generation
84 Write-Host "Download and Extract mdoc to Build.BinariesDirectory/mdoc"
You can’t perform that action at this time.
0 commit comments