Try to pass var into another job since we cant have a template in the jobs

This commit is contained in:
Noah Gilson 2024-10-10 13:16:47 -07:00
Родитель 592349be71
Коммит 7bdf2dfec9
1 изменённых файлов: 10 добавлений и 7 удалений

Просмотреть файл

@ -77,10 +77,13 @@ jobs:
Contents: '**\*.binlog'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
flattenFolders: false
- ${{ if eq(parameters.useOneEngineeringPool, 'true') }}:
- template: publish.yaml
parameters:
pool: ${{ parameters.pool }}
SignType: ${{ parameters.SignType }}
version: $(GetVersion.version)
useOneEngineeringPool: true
- ${{ if eq(parameters.useOneEngineeringPool, 'true') }}:
- template: publish.yaml
dependsOn: ${{ parameters.pool.os }}_Package
variables:
version: $[ dependencies.${{ parameters.pool.os }}_Package.outputs['GetVersion.version']]
parameters:
pool: ${{ parameters.pool }}
SignType: ${{ parameters.SignType }}
version: $(version)
useOneEngineeringPool: true