Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 3fa980a

Browse files
authored
Merge pull request #455 from dotnet/dev/jmarolf/fix-ci
Update CI machine pools
2 parents 1707f21 + 9bcb2c5 commit 3fa980a

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

eng/azure-pipelines.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,20 @@ jobs:
2929
enablePublishUsingPipelines: $(_PublishUsingPipelines)
3030
enableTelemetry: true
3131
helixRepo: dotnet/standard
32+
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
33+
runAsPublic: true
34+
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
35+
runAsPublic: false
36+
3237
jobs:
3338
- job: Windows_NT
3439
pool:
3540
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
36-
name: NetCore1ESPool-Public
37-
demands: ImageOverride -equals build.windows.10.amd64.vs2019.pre.open
41+
name: NetCore-Public
42+
demands: ImageOverride -equals windows.vs2022preview.amd64.open
3843
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
3944
name: NetCore1ESPool-Internal
40-
demands: ImageOverride -equals build.windows.10.amd64.vs2019
45+
demands: ImageOverride -equals windows.vs2022preview.amd64
4146
variables:
4247
# Enable signing for internal, non-PR builds
4348
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:

0 commit comments

Comments
 (0)