File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -214,12 +214,11 @@ 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.
220- - run : cargo publish -p photon-ring-derive --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
217+ # Publish order: derive → core → async + metrics.
218+ # "|| true" skips already-published crates (idempotent re-runs).
219+ - run : cargo publish -p photon-ring-derive --token ${{ secrets.CARGO_REGISTRY_TOKEN }} || true
221220 - run : sleep 30
222- - run : cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
221+ - run : cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} || true
223222 - run : sleep 30
224- - run : cargo publish -p photon-ring-async --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
225- - run : cargo publish -p photon-ring-metrics --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
223+ - run : cargo publish -p photon-ring-async --token ${{ secrets.CARGO_REGISTRY_TOKEN }} || true
224+ - run : cargo publish -p photon-ring-metrics --token ${{ secrets.CARGO_REGISTRY_TOKEN }} || true
You can’t perform that action at this time.
0 commit comments