Skip to content

Commit 9753e33

Browse files
userFRMclaude
andcommitted
ci: fix publish order — core before dependents, add index propagation delay
photon-ring-async and photon-ring-metrics depend on photon-ring ^2.5.0. They must be published AFTER the core crate, not before. Added 30s sleeps between publishes for crates.io index propagation. Order: derive → core → async + metrics Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 32502c4 commit 9753e33

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,12 @@ jobs:
214214
steps:
215215
- uses: actions/checkout@v4
216216
- uses: dtolnay/rust-toolchain@stable
217+
# Publish order matters: derive first (no deps), then core (depends on
218+
# derive), then async+metrics (depend on core). Sleep between publishes
219+
# to let the crates.io index propagate.
217220
- run: cargo publish -p photon-ring-derive --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
221+
- run: sleep 30
222+
- run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
223+
- run: sleep 30
218224
- run: cargo publish -p photon-ring-async --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
219225
- run: cargo publish -p photon-ring-metrics --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
220-
- run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)