Commit e138697
authored
chore: add trusted-publisher crates.io release job (#3)
## What changed
Adds a separate crates.io publish job to the tag-driven release workflow
while keeping the existing WASM GitHub release flow intact.
## Why
We want crates.io publishing to follow the `unfmt` trusted-publisher
pattern instead of using a long-lived registry token.
## Impact
Tag releases will still verify, build, and upload WASM assets, then run
a dedicated crates.io publish job authenticated through GitHub OIDC and
`rust-lang/crates-io-auth-action`.
## Validation
- Reviewed the workflow diff for job ordering and permissions
- Ran `cargo publish --dry-run --locked --allow-dirty` successfully1 parent 140946a commit e138697
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
0 commit comments