diff --git a/powershell-devops.psm1 b/powershell-devops.psm1 index c113712..80e4a13 100644 --- a/powershell-devops.psm1 +++ b/powershell-devops.psm1 @@ -37,9 +37,8 @@ function Set-EnvironmentVariable { } if ($Output) { "$Name=$Value" | Out-File -FilePath $env:GITHUB_OUTPUT -Append - } else { - "$Name=$Value" | Out-File -FilePath $env:GITHUB_ENV -Append } + "$Name=$Value" | Out-File -FilePath $env:GITHUB_ENV -Append } Set-Item -Path env:$Name -Value $Value -Force @@ -103,4 +102,4 @@ function Add-Path { } $env:PATH = "$Path;$env:PATH" -} \ No newline at end of file +}