The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 05:00 UTC
[codex] Handle NuGet provider bootstrap failures (#2608)
Co-authored-by: Julius Marminge <julius@macmini.local>
Julius Marminge committed
May 8, 2026 at 15:20 UTC
7bfacd55d89524ee2bce68e5ae863222c4609f68
1 file changed
+12
-6
.github/workflows/release.yml
+12
-6
@@ -272,11 +272,16 @@ jobs:
272
exit 0
273
}
274
275
- Install-PackageProvider `
276
- -Name NuGet `
277
- -MinimumVersion 2.8.5.201 `
278
- -Force `
279
- -Scope CurrentUser
275
+ try {
276
+ Install-PackageProvider `
277
+ -Name NuGet `
278
+ -MinimumVersion 2.8.5.201 `
279
+ -Force `
280
+ -Scope CurrentUser `
281
+ -ErrorAction Stop
282
+ } catch {
283
+ Write-Warning "Could not bootstrap NuGet package provider. Continuing because the runner may already have a usable provider. $($_.Exception.Message)"
284
+ }
285
286
Install-Module `
287
-Name TrustedSigning `
@@ -284,7 +289,8 @@ jobs:
289
-Force `
290
-AllowClobber `
291
-Repository PSGallery `
287
- -Scope CurrentUser
292
+ -Scope CurrentUser `
293
+ -ErrorAction Stop
294
295
Import-Module TrustedSigning -MinimumVersion 0.5.0 -Force
296
Get-Command Invoke-TrustedSigning -ErrorAction Stop