Fix publish-build-assets.yml job (#13109)

Since this repo doesn't use the jobs.yml template, when it calls the publish-build-assets.yml template it needs to specify a pool.
This commit is contained in:
Matt Mitchell 2022-01-24 16:28:42 -08:00 committed by GitHub
parent 7abd046866
commit 33c5cca631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -378,6 +378,9 @@ stages:
- Source_Build_Managed - Source_Build_Managed
- Source_Build_Create_Tarball - Source_Build_Create_Tarball
publishUsingPipelines: true publishUsingPipelines: true
pool:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals build.windows.10.amd64.vs2019
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- template: eng\common\templates\post-build\post-build.yml - template: eng\common\templates\post-build\post-build.yml