Replace set output (#59)

pull/61/head
Aleksandr Chebotov 2 years ago committed by GitHub
parent d25937e581
commit 896369fc7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,8 +21,7 @@ $VersionsToBuild = $VersionsFromDist | Where-Object { $VersionsFromManifest -not
if ($VersionsToBuild) {
$availableVersions = $VersionsToBuild -join ", "
Write-Host "The following versions are available to build:`n${availableVersions}"
Write-Host "::set-output name=TOOL_VERSIONS::${availableVersions}"
Write-Host "##vso[task.setvariable variable=TOOL_VERSIONS;isOutput=true]${availableVersions}"
"TOOL_VERSIONS=${availableVersions}" >> $env:GITHUB_OUTPUT
} else {
Write-Host "There aren't versions to build"
}

Loading…
Cancel
Save