diff --git a/.github/scripts/decrypt-secret.ps1 b/.github/scripts/decrypt-secret.ps1 index 7b57298c7..8dfabe5cf 100644 --- a/.github/scripts/decrypt-secret.ps1 +++ b/.github/scripts/decrypt-secret.ps1 @@ -21,9 +21,9 @@ if ([string]::IsNullOrEmpty($output)) { } } -if(!(Test-Path -Path $secretPath)) +if(!(Test-Path -Path $secretOutputPath)) { - New-Item -ItemType Directory -Path $secretPath + New-Item -ItemType Directory -Path $secretOutputPath } gpg --quiet --batch --yes --decrypt --passphrase="$passphrase" --output $output $input