diff --git a/powershell-devops.psd1 b/powershell-devops.psd1 index 1f76da0..1605e96 100644 --- a/powershell-devops.psd1 +++ b/powershell-devops.psd1 @@ -1,5 +1,5 @@ @{ - ModuleVersion = '1.0.0' + ModuleVersion = '1.0.1' RootModule = 'powershell-devops.psm1' GUID = 'c1bdd96a-5c69-43f7-8155-9cd5f5a6019d' Author = 'https://github.com/smokedlinq' @@ -25,4 +25,4 @@ ProjectUri = 'https://github.com/smokedlinq/powershell-devops' } } -} \ No newline at end of file +} 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 +}