@@ -50,11 +50,8 @@ variables:
50
50
value : Release
51
51
- name : DOTNET_SKIP_FIRST_TIME_EXPERIENCE
52
52
value : true
53
- # TODO: Replace with eq(variables['System.TeamProject'], 'public') once a public project is created
54
- # Treat builds from refs/heads/internal/* branches as the mirror builds, i.e., official; and
55
- # treat all other builds as "public".
56
53
- name : runAsPublic
57
- value : true # ${{ and(ne( variables['Build.SourceBranch '], 'refs/heads/main'), not(startsWith(variables['Build.SourceBranch'], 'refs/heads/internal/')) ) }}
54
+ value : ${{ eq( variables['System.TeamProject '], 'public' ) }}
58
55
- name : _BuildConfig
59
56
value : Release
60
57
- name : Build.Arcade.ArtifactsPath
@@ -93,8 +90,8 @@ stages:
93
90
94
91
pool :
95
92
${{ if eq(variables['runAsPublic'], 'true') }} :
96
- name : $(DncEngInternalBuildPool )
97
- demands : ImageOverride -equals windows.vs2022preview.amd64
93
+ name : $(DncEngPublicBuildPool )
94
+ demands : ImageOverride -equals windows.vs2022preview.amd64.open
98
95
# Non-public (i.e., official builds)
99
96
${{ else }} :
100
97
name : $(DncEngInternalBuildPool)
@@ -122,8 +119,8 @@ stages:
122
119
123
120
pool :
124
121
${{ if eq(variables['runAsPublic'], 'true') }} :
125
- name : $(DncEngInternalBuildPool )
126
- demands : ImageOverride -equals build.ubuntu.2004.amd64
122
+ name : $(DncEngPublicBuildPool )
123
+ demands : ImageOverride -equals build.ubuntu.2004.amd64.open
127
124
# Non-public (i.e., official builds)
128
125
${{ else }} :
129
126
name : $(DncEngInternalBuildPool)
0 commit comments