Commit e44a258
committed
chore(ci): enable OIDC login for NuGet publish
Adds OIDC-based NuGet login before publishing and conditionally uses the OIDC-provided API key for the official NuGet feed while falling back to existing secrets for other feeds.
- Adds an OIDC authentication step prior to package publish.
- Uses the OIDC token for api-key and symbol-api-key when targeting the official NuGet source.
- Retains secret-based keys for other package sources.
- Improves security by reducing reliance on long-lived secrets and enabling ephemeral credentials.1 parent f20762c commit e44a258
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
77 | 85 | | |
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
81 | 89 | | |
82 | | - | |
83 | | - | |
| 90 | + | |
| 91 | + | |
84 | 92 | | |
0 commit comments