From: Alexander Köplinger Date: Tue, 17 Aug 2021 18:10:45 +0000 (+0200) Subject: Fix source indexer failing official builds (#57336) (#57593) X-Git-Tag: accepted/tizen/unified/20220110.054933~321 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0ad279ea3323913256a2e38461e717d00f75d18;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix source indexer failing official builds (#57336) (#57593) Works around https://github.com/dotnet/arcade/issues/7747 to unblock official builds. This change will revert itself with the next Arcade update. Co-authored-by: Viktor Hofer --- diff --git a/eng/common/templates/job/source-index-stage1.yml b/eng/common/templates/job/source-index-stage1.yml index b58d423..e60fdbc 100644 --- a/eng/common/templates/job/source-index-stage1.yml +++ b/eng/common/templates/job/source-index-stage1.yml @@ -35,10 +35,8 @@ jobs: packageType: sdk version: 3.1.x - - task: UseDotNet@2 - displayName: Use .NET Core sdk - inputs: - useGlobalJson: true + - script: ${{ parameters.sourceIndexBuildCommand }} + displayName: Build Repository - script: | dotnet tool install BinLogToSln --version $(SourceIndexPackageVersion) --add-source $(SourceIndexPackageSource) --tool-path .source-index/tools @@ -46,9 +44,6 @@ jobs: echo ##vso[task.prependpath]$(Build.SourcesDirectory)/.source-index/tools displayName: Download Tools - - script: ${{ parameters.sourceIndexBuildCommand }} - displayName: Build Repository - - script: BinLogToSln -i $(BinlogPath) -r $(Build.SourcesDirectory) -n $(Build.Repository.Name) -o .source-index/stage1output displayName: Process Binlog into indexable sln env: