Commit e0d10b1
fix(ci): move CARGO_REGISTRY_TOKEN to job-level env for cargo publish
The token was only set as a step-level env for cargo login,
making it invisible to subsequent cargo publish steps.
Cargo reads CARGO_REGISTRY_TOKEN automatically -- no login step needed.
Added token presence check for clearer CI diagnostics.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 7aa0858 commit e0d10b1
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
0 commit comments