Commit e154280
authored
ci: publish to NuGet via Trusted Publishing, not a long-lived key (#100)
The release job pushed all four Atypical.TechnicalAnalysis* packages with a
NUGET_API_KEY repository secret. It now exchanges the GitHub OIDC token for a
key valid ~1 hour (NuGet/login v1.2.0), so nothing long-lived is stored; the
only remaining secret is NUGET_USER, the nuget.org profile name.
permissions.id-token: write was already declared at workflow level, and the
release job declares no permissions of its own, so it inherits it — no
permission change was needed.
The nuget.org policy must cover all four package ids. Note they are
Atypical.* ids under a phmatray repository, so the policy belongs to whichever
nuget.org account owns those ids, and names phmatray/TaLibStandard regardless.1 parent 613d250 commit e154280
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
180 | 192 | | |
181 | 193 | | |
182 | 194 | | |
183 | 195 | | |
184 | | - | |
| 196 | + | |
185 | 197 | | |
186 | 198 | | |
187 | 199 | | |
| |||
0 commit comments