Skip to content

Fix crates publish workflow (remove blocked API precheck)#11

Merged
user1303836 merged 1 commit intomainfrom
codex/fix-crates-publish-workflow
Feb 27, 2026
Merged

Fix crates publish workflow (remove blocked API precheck)#11
user1303836 merged 1 commit intomainfrom
codex/fix-crates-publish-workflow

Conversation

@user1303836
Copy link
Owner

Summary

  • remove crates.io API pre-check that can return 403 in GitHub Actions
  • publish directly with cargo publish --locked
  • treat already uploaded-style publish responses as success (idempotent)
  • fail fast with a clear message when CARGO_REGISTRY_TOKEN is missing
  • bump crate version to 0.1.6 and add changelog entry

Why

The previous workflow called https://crates.io/api/v1/crates/<name>/<version> and failed with 403 due to crates.io data-access policy enforcement.

This PR removes that dependency and relies on Cargo's publish response instead.

@user1303836 user1303836 merged commit 8946b72 into main Feb 27, 2026
11 checks passed
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