v-nibyko/get-go-versions
Nikita Bykov 3 years ago
parent 8f1a38e755
commit 538be710eb

@ -29,11 +29,8 @@ if ($ToolName -eq "Xamarin") {
if ($VersionsToBuild) {
$availableVersions = $VersionsToBuild -join $joinChars
Write-Host "The following versions are available to build:`n${availableVersions}"
if ($ToolName -eq "Go") {
Write-Host "::set-output name=version_number::${availableVersions}"
} else {
Write-Host "##vso[task.setvariable variable=TOOL_VERSIONS;isOutput=true]${availableVersions}"
}
} else {
Write-Host "There aren't versions to build"
}

Loading…
Cancel
Save