Skip to content

Commit 65a98b4

Browse files
author
toasteater
committed
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.
1 parent 6d9bc20 commit 65a98b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,15 @@ jobs:
3232
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
3333
run: |
3434
(cd impl/proc_macros && cargo publish);
35+
sleep 1m;
3536
(cd gdnative-sys && cargo publish);
37+
sleep 1m;
3638
(cd gdnative-derive && cargo publish);
39+
sleep 1m;
3740
(cd gdnative-core && cargo publish);
41+
sleep 1m;
3842
(cd bindings_generator && cargo publish);
43+
sleep 1m;
3944
(cd gdnative-bindings && cargo publish);
45+
sleep 1m;
4046
(cd gdnative && cargo publish);

0 commit comments

Comments
 (0)