Pass a few switches to the orchestrator (#18398)

This commit is contained in:
Matt Mitchell 2024-01-26 00:19:35 -08:00 committed by GitHub
parent d839e846f6
commit 0644f48e14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -121,7 +121,7 @@
<!-- Builds from the VMR are by definition vertical builds. -->
<DotNetBuildVertical Condition="'$(DotNetBuildVertical)' == '' and '$(DotNetBuildFromSource)' != 'true'">true</DotNetBuildVertical>
<!-- By default, the VMR builds with online sources. -->
<BuildWithOnlineSources Condition="'$(BuildWithOnlineSources)' == '' and '$(DotNetBuildVertical)' == 'true'">true</BuildWithOnlineSources>
<DotNetBuildWithOnlineSources Condition="'$(DotNetBuildWithOnlineSources)' == '' and '$(DotNetBuildVertical)' == 'true'">true</DotNetBuildWithOnlineSources>
</PropertyGroup>
<PropertyGroup>

View file

@ -119,10 +119,10 @@ while [[ $# > 0 ]]; do
# Source-only settings
-source-only|-so)
sourceOnly=true
properties="$properties /p:DotNetBuildFromSource=true"
properties="$properties /p:DotNetBuildFromSource=true /p:DotNetBuildSourceOnly=true"
;;
-online)
properties="$properties /p:BuildWithOnlineSources=true"
properties="$properties /p:DotNetBuildWithOnlineSources=true"
;;
-poison)
properties="$properties /p:EnablePoison=true"

View file

@ -82,7 +82,7 @@
<RemoveInternetSourcesFromNuGetConfig
NuGetConfigFile="%(NuGetConfigFiles.Identity)"
BuildWithOnlineSources="$(BuildWithOnlineSources)"
BuildWithOnlineSources="$(DotNetBuildWithOnlineSources)"
KeepFeedPrefixes="@(KeepFeedPrefixes)"
Condition="'$(DotNetBuildFromSource)' == 'true'" />
@ -112,7 +112,7 @@
<UpdateNuGetConfigPackageSourcesMappings
NuGetConfigFile="%(NuGetConfigFiles.Identity)"
BuildWithOnlineSources="$(BuildWithOnlineSources)"
BuildWithOnlineSources="$(DotNetBuildWithOnlineSources)"
SourceBuildSources="$(SourceBuildSources)" />
<MakeDir Directories="$(BaseIntermediateOutputPath)" />