File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
src/Layout/redist/targets Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 304
304
</UrisToDownload >
305
305
</ItemGroup >
306
306
307
- <!-- If building in product source build mode, there is no need to attempt the external URIs. These are not desired,
308
- and won't work anyway because the source build file URI doesn't use the same structure as the storage accounts.
309
- For example, the dotnetbuilds uri for 'file:///vmr/dotnet2/artifacts/obj/x64/Release/blob-feed/assets//aspnetcore_base_runtime.version'
310
- would end up 'https://ci.dot.net/public//dotnet-runtime-8.0.0-rc.1.23381.3-centos.8-x64.tar.gz'. This is
311
- missing the runtime version number directory. -->
312
- <ItemGroup Condition =" '$(DotNetBuildFromVMR)' != 'true'" >
307
+ <!--
308
+ Only access external URIs if building the repo outside the context of the VMR or if building a non-1xx feature band.
309
+ For VMR builds in the 1xx feature band, we want to use the locally built artifacts produced by repos built earlier in the build.
310
+ But in later feature bands, we need to download the artifacts since the current build did not produce them. They were only produced
311
+ by builds of the 1xx feature band and are being shared with other feature bands through this download workflow.
312
+ -->
313
+ <ItemGroup Condition =" '$(DotNetBuildFromVMR)' != 'true' or '$(VersionSDKMinor)' != '1'" >
313
314
<UrisToDownload Include =" $([System.String]::Copy('%(ComponentToDownload.BaseUrl)').Replace($(PublicBaseURL), 'https://ci.dot.net/public/'))/%(ComponentToDownload.DownloadFileName)"
314
315
Condition =" '%(ComponentToDownload.ShouldDownload)' == 'true'" >
315
316
<ShouldDownload >%(ComponentToDownload.ShouldDownload)</ShouldDownload >
You can’t perform that action at this time.
0 commit comments