Use echo to write to GITHUB_OUTPUT

Contributes to CURA-8607
This commit is contained in:
Jelle Spijker 2023-01-06 09:50:09 +01:00
parent b88f7b87b7
commit 18b3eb8f2b

View file

@ -164,7 +164,7 @@ jobs:
$pfxPath = Join-Path -Path $env:RUNNER_TEMP -ChildPath "cert.pfx";
$encodedBytes = [System.Convert]::FromBase64String($env:PFX_CONTENT);
Set-Content $pfxPath -Value $encodedBytes -AsByteStream;
Add-Content [-Path] $Env:GITHUB_OUTPUT [-Value] "PFX_PATH=$pfxPath";
echo "PFX_PATH=$pfxPath" >> $env:GITHUB_OUTPUT;
- name: Clean Conan local cache
if: ${{ inputs.conan_clean_local_cache }}