From 38fc6a86428a396d9a99a56a8a081d264705e453 Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Tue, 23 Feb 2021 16:27:49 -0800 Subject: [PATCH] Cherry-pick internal runtime download change --- eng/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eng/build.yml b/eng/build.yml index 1293e3764..6190e078b 100644 --- a/eng/build.yml +++ b/eng/build.yml @@ -43,10 +43,14 @@ phases: - _SignType: test - _BuildArgs: '/p:DotNetSignType=$(_SignType)' - _DOTNETCLIMSRC_READ_SAS_TOKEN: '' + - _InternalRuntimeDownloadArgs: '' - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - group: DotNet-MSRC-Storage - _DOTNETCLIMSRC_READ_SAS_TOKEN: $(dotnetclimsrc-read-sas-token) + - name: _InternalRuntimeDownloadArgs + value: /p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet + /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64) - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - group: DotNet-Symbol-Server-PATs @@ -81,6 +85,7 @@ phases: -Architecture $(_BuildArchitecture) $(_BuildArgs) $(_AdditionalBuildParameters) + $(_InternalRuntimeDownloadArgs) displayName: Build env: DOTNET_CLI_UI_LANGUAGE: $(_DOTNET_CLI_UI_LANGUAGE) @@ -107,6 +112,7 @@ phases: $(_RuntimeIdentifier) $(_BuildArgs) $(_AdditionalBuildParameters) + $(_InternalRuntimeDownloadArgs) displayName: Build env: DOTNETCLIMSRC_READ_SAS_TOKEN: $(_DOTNETCLIMSRC_READ_SAS_TOKEN) @@ -119,6 +125,7 @@ phases: --configuration $(_BuildConfig) $(_BuildArgs) $(_AdditionalBuildParameters) + $(_InternalRuntimeDownloadArgs) displayName: Build env: DOTNETCLIMSRC_READ_SAS_TOKEN: $(_DOTNETCLIMSRC_READ_SAS_TOKEN)