Register-PSRepository -Default failed inside the legacy nuget.exe provider with "Missing option value for: '-source'" on the hosted windows-2022 image, leaving PSGallery unregistered so the subsequent Set-PSRepository threw "No repository with the name 'PSGallery'". Prefer Microsoft.PowerShell.PSResourceGet (bundled with PowerShell 7.4+), which has PSGallery registered by default and avoids that code path; fall back to PowerShellGet with an explicit NuGet-provider bootstrap only when PSResourceGet is unavailable. Co-authored-by: Orca <help@stably.ai> |
||
|---|---|---|
| .. | ||
| computer-e2e.yml | ||
| e2e.yml | ||
| golden-e2e-experiment.yml | ||
| homebrew-bump.yml | ||
| issue-os-labeler.yaml | ||
| linux-wayland-gpu-sandbox.yml | ||
| mobile-android-release.yml | ||
| mobile-ios-release.yml | ||
| mobile.yml | ||
| pr.yml | ||
| pullfrog.yml | ||
| readme-downloads-badge.yml | ||
| release-cut.yml | ||
| release-mac-build.yml | ||
| terminal-perf.yml | ||
| track-community-prs.yaml | ||