Commit 79e5f64
committed
feat: switch deploy to NuGet trusted publishing (OIDC)
- Add permissions.id-token: write to deploy job to enable OIDC token issuance
- Add NuGet/login@v1 step to exchange GitHub OIDC token for a short-lived NuGet API key
- Replace long-lived secrets.NUGET_API_KEY with steps.login.outputs.NUGET_API_KEY
- Fix deprecated ::set-output syntax to use GITHUB_OUTPUT
- Update .NET setup in deploy job to use global-json-file instead of hardcoded versions
- Fix CI env var leak in CIDetectionTests causing NoCiEnvVars_SetsCIPropertyToFalse to fail on GitHub Actions1 parent 7a486ad commit 79e5f64
1 file changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
| |||
0 commit comments