new line GitHub env improvements

This commit is contained in:
David Refoua
2022-10-17 23:35:29 +03:30
parent d767c9b2e9
commit 9151fb3469
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ function Set-GHVariable {
Write-Verbose "Setting CI variable $Name to $Value" -Verbose
if ($env:GITHUB_ENV) {
"$Name=$Value" | Out-File $env:GITHUB_ENV -Append
echo "$Name=$Value" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
}
}