Update get-tool-versions.yml

This commit is contained in:
Maxim Lobanov
2020-12-16 11:31:23 +03:00
parent 4a932e134c
commit 1b966031cc

View File

@@ -37,9 +37,12 @@ stages:
pool:
name: $(PoolName)
vmImage: $(VmImage)
variables:
# map the output variable from A into this job
ToolVersions: $[ stageDependencies.Find_New_Versions.Find_New_Versions.outputs['Get_versions.TOOL_VERSIONS'] ]
steps:
- pwsh: |
$NewVersions = "$[ stageDependencies.Find_New_Versions.Find_New_Versions.outputs['Get_versions.TOOL_VERSIONS'] ]".Trim()
$NewVersions = "$(ToolVersions)"
if ($NewVersions) {
Write-Host "The following versions were found: $NewVersions"
} else {