Add 1-minute delays between crates
When a new version of a crate is published, it can take a while for
crates.io to update the index. Publishing a dependent crate would fail in
the meantime. This adds 1-minute delays between `cargo publish` commands
to work around the problem.
@@ -32,9 +32,15 @@ jobs:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
run: |
(cd impl/proc_macros && cargo publish);
+ sleep 1m;
(cd gdnative-sys && cargo publish);
+ sleep 1m;
(cd gdnative-derive && cargo publish);
+ sleep 1m;
(cd gdnative-core && cargo publish);
+ sleep 1m;
(cd bindings_generator && cargo publish);
+ sleep 1m;
(cd gdnative-bindings && cargo publish);
+ sleep 1m;
(cd gdnative && cargo publish);
\ No newline at end of file
