From 896369fc7db1c89563d9a164d1ffc7f32d6c1c63 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Fri, 28 Oct 2022 18:08:30 +0200 Subject: [PATCH] Replace set output (#59) --- get-new-tool-versions/get-new-tool-versions.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/get-new-tool-versions/get-new-tool-versions.ps1 b/get-new-tool-versions/get-new-tool-versions.ps1 index e8342ed..a320c4a 100644 --- a/get-new-tool-versions/get-new-tool-versions.ps1 +++ b/get-new-tool-versions/get-new-tool-versions.ps1 @@ -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" }