Skip to content

Commit

Permalink
Merge #685
Browse files Browse the repository at this point in the history
685: Add 1-minute delays between crates r=toasteater a=toasteater

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.

Co-authored-by: toasteater <48371905+toasteater@users.noreply.github.com>
  • Loading branch information
bors[bot] and toasteater authored Feb 2, 2021
2 parents 6d9bc20 + 65a98b4 commit 7b23560
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 7b23560

Please sign in to comment.