From 3db8b04e926e7cd2e713f564ed40f08f395824b4 Mon Sep 17 00:00:00 2001 From: Noah Gilson Date: Thu, 10 Oct 2024 13:28:15 -0700 Subject: [PATCH] Revert "Try to pass var into another job since we cant have a template in the jobs" This reverts commit 7bdf2dfec95f13f053bc016cb767be9257da744c. --- pipeline-templates/package-vsix.yaml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pipeline-templates/package-vsix.yaml b/pipeline-templates/package-vsix.yaml index 35593a73..0ba4f0ed 100644 --- a/pipeline-templates/package-vsix.yaml +++ b/pipeline-templates/package-vsix.yaml @@ -77,13 +77,10 @@ jobs: Contents: '**\*.binlog' TargetFolder: '$(Build.ArtifactStagingDirectory)' flattenFolders: false -- ${{ 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 \ No newline at end of file + - ${{ if eq(parameters.useOneEngineeringPool, 'true') }}: + - template: publish.yaml + parameters: + pool: ${{ parameters.pool }} + SignType: ${{ parameters.SignType }} + version: $(GetVersion.version) + useOneEngineeringPool: true \ No newline at end of file