Try to pass var into another job since we cant have a template in the jobs
This commit is contained in:
Родитель
592349be71
Коммит
7bdf2dfec9
|
@ -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
|
Загрузка…
Ссылка в новой задаче