Update .vsts-ci.yml

This commit is contained in:
Marc Paine 2022-02-06 09:40:53 -08:00 committed by GitHub
parent 50f3a050ee
commit 9049a306f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -391,9 +391,9 @@ stages:
- Source_Build_Create_Tarball - Source_Build_Create_Tarball
publishUsingPipelines: true publishUsingPipelines: true
pool: pool:
${{ if eq(variables['System.TeamProject'], 'internal') }}: ${{ if eq(variables['System.TeamProject'], 'internal') }}:
name: NetCore1ESPool-Svc-Internal name: NetCore1ESPool-Svc-Internal
demands: ImageOverride -equals Build.Windows.10.Amd64.VS2017 demands: ImageOverride -equals Build.Windows.10.Amd64.VS2017
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: