Commit 21f5f5e
Switch publish workflow to NuGet trusted publishing (OIDC) (#91)
Replace secrets.NUGET_API_KEY with NuGet/login@v1 OIDC-based authentication.
- Add id-token: write permission for OIDC token exchange
- Add NuGet/login@v1 step before push
- Remove API key from push command
- Add --skip-duplicate to push
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 164d2ad commit 21f5f5e
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
55 | 63 | | |
56 | | - | |
| 64 | + | |
57 | 65 | | |
58 | 66 | | |
59 | 67 | | |
| |||
0 commit comments