Skip to content

Commit 95cbe5f

Browse files
authored
Add appropriate variable group (#1784)
1 parent 6c1891d commit 95cbe5f

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

eng/jobs/windows-build.yml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,26 @@ jobs:
2828
workspace:
2929
clean: all
3030
variables:
31-
CommonMSBuildArgs: >-
32-
/p:Configuration=$(_BuildConfig)
33-
/p:OfficialBuildId=$(OfficialBuildId)
34-
/p:TargetArchitecture=${{ parameters.targetArchitecture }}
35-
/p:PortableBuild=true
36-
/p:SkipTests=${{ parameters.skipTests }}
37-
MsbuildSigningArguments: >-
38-
/p:DotNetSignType=$(SignType)
39-
TargetArchitecture: ${{ parameters.targetArchitecture }}
40-
DisableVSPublish: ${{ parameters.disableVSPublish }}
41-
${{ if eq(variables['System.TeamProject'], 'public') }}:
42-
_InternalRuntimeDownloadArgs: ''
43-
${{ if ne(variables['System.TeamProject'], 'public') }}:
44-
_InternalRuntimeDownloadArgs: >-
31+
- name: CommonMSBuildArgs
32+
value: >-
33+
/p:Configuration=$(_BuildConfig)
34+
/p:OfficialBuildId=$(OfficialBuildId)
35+
/p:TargetArchitecture=${{ parameters.targetArchitecture }}
36+
/p:PortableBuild=true
37+
/p:SkipTests=${{ parameters.skipTests }}
38+
- name: MsbuildSigningArguments
39+
value: /p:DotNetSignType=$(SignType)
40+
- name: TargetArchitecture
41+
value: ${{ parameters.targetArchitecture }}
42+
- name: DisableVSPublish
43+
value: ${{ parameters.disableVSPublish }}
44+
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
45+
- name: _InternalRuntimeDownloadArgs
46+
value: ''
47+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
48+
- group: DotNet-MSRC-Storage
49+
- name: _InternalRuntimeDownloadArgs
50+
value: >-
4551
/p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet
4652
/p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64)
4753

0 commit comments

Comments
 (0)