chore(ci): work around powershell install failure

happens on northcentralus region (sometimes) ...
This commit is contained in:
Matthias
2026-05-18 06:34:06 +02:00
parent 9aebce306d
commit d67b54bcb5
+4 -1
View File
@@ -150,7 +150,10 @@ jobs:
run: |
$PSVersionTable
Get-PSRepository | Format-List *
Set-PSRepository psgallery -InstallationPolicy trusted
if (-not (Get-PSRepository -Name PSGallery -ErrorAction SilentlyContinue)) {
Register-PSRepository -Default
}
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module -Name Pester -RequiredVersion 5.7.1 -Confirm:$false -Force -SkipPublisherCheck
$Error.clear()
Invoke-Pester -Path "tests" -CI