Commit b02fba5
committed
ci(release): move ed25519 signing gate from secrets.X to env.X
GitHub Actions evaluates `if:` at workflow-parse time and doesn't expose
the `secrets` context there, so `if: secrets.FOO != ''` is an invalid
workflow. Use the standard pattern: inject the secret into `env:` (which
IS available at runtime), then gate on `env.X != ''`.
Also swap `echo` for `printf '%s'` so trailing newlines don't corrupt
the key bytes on read.1 parent 45632e5 commit b02fba5
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
168 | 170 | | |
169 | | - | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
0 commit comments