Commit b4f021c
fix(ci): use env var pattern for secrets in nuget.yml if condition
The if: secrets.NUGET_API_KEY expression causes workflow file validation
failures in GitHub Actions. Use the env var pattern instead: set the
secret to an env var, then check env.NUGET_API_KEY in the if condition.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 754a7f6 commit b4f021c
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments