Commit 4bb8151
Fix crates.io secret name: CRATES_IO_TOKEN -> CARGO_REGISTRY_TOKEN
The repository secret is named CARGO_REGISTRY_TOKEN, but four references
across release-all.yml and publish-crates.yml read secrets.CRATES_IO_TOKEN,
which does not exist. GitHub resolves a missing secret to an empty string
rather than failing, so cargo received "" and the v1.0.4 release died with:
error: failed to publish ison-rs v1.0.2 to registry at https://crates.io
Caused by:
please provide a non-empty token
The wrong name was inherited from the original workflow and carried through
the rewrite without being checked against the actual secret list. Every
secrets.* reference across all workflows now resolves to a configured secret:
CARGO_REGISTRY_TOKEN, GITHUB_TOKEN, NPM_TOKEN, PYPI_API_TOKEN.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent a13bf7d commit 4bb8151
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
0 commit comments