Skip to content

chore: add trusted-publisher crates.io release job#3

Merged
jrandolf merged 1 commit intomainfrom
codex/trusted-publisher-crates
Apr 13, 2026
Merged

chore: add trusted-publisher crates.io release job#3
jrandolf merged 1 commit intomainfrom
codex/trusted-publisher-crates

Conversation

@jrandolf
Copy link
Copy Markdown
Contributor

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 successfully

@jrandolf jrandolf merged commit e138697 into main Apr 13, 2026
2 checks passed
@jrandolf jrandolf deleted the codex/trusted-publisher-crates branch April 13, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant