v-nibyko/get-go-versions
Nikita Bykov 4 years ago
parent 7654b2e70d
commit 65cd85d7fe

@ -24,13 +24,12 @@ if ($ToolName -eq "Xamarin") {
$joinChars = "\n\t" $joinChars = "\n\t"
} else { } else {
$VersionsToBuild = $VersionsFromDist | Where-Object { $VersionsFromManifest -notcontains $_ } $VersionsToBuild = $VersionsFromDist | Where-Object { $VersionsFromManifest -notcontains $_ }
$VersionsToBuild = "1"
} }
if ($VersionsToBuild) { if ($VersionsToBuild) {
$availableVersions = $VersionsToBuild -join $joinChars $availableVersions = $VersionsToBuild -join $joinChars
Write-Host "The following versions are available to build:`n${availableVersions}" Write-Host "The following versions are available to build:`n${availableVersions}"
Write-Host "::set-output name=version_number::1.16.5, 1.15.13" Write-Host "::set-output name=version_number::${availableVersions}"
} else { } else {
Write-Host "There aren't versions to build" Write-Host "There aren't versions to build"
} }

Loading…
Cancel
Save