mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 19:50:24 +00:00
Update get-tool-versions.yml
This commit is contained in:
@@ -37,9 +37,12 @@ stages:
|
|||||||
pool:
|
pool:
|
||||||
name: $(PoolName)
|
name: $(PoolName)
|
||||||
vmImage: $(VmImage)
|
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:
|
steps:
|
||||||
- pwsh: |
|
- pwsh: |
|
||||||
$NewVersions = "$[ stageDependencies.Find_New_Versions.Find_New_Versions.outputs['Get_versions.TOOL_VERSIONS'] ]".Trim()
|
$NewVersions = "$(ToolVersions)"
|
||||||
if ($NewVersions) {
|
if ($NewVersions) {
|
||||||
Write-Host "The following versions were found: $NewVersions"
|
Write-Host "The following versions were found: $NewVersions"
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user