We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2bfe7 commit 89a6f4aCopy full SHA for 89a6f4a
.github/workflows/cargo-publish.yml
@@ -22,6 +22,15 @@ jobs:
22
- name: Publish sub crates
23
run: |
24
cargo publish --manifest-path=macros/Cargo.toml
25
+ # Publish MMTk core.
26
+ # As mmtk-core depends on the crate we just publish above, in practice there could be
27
+ # a delay before we can find the exact version for the dependent crate on crates.io.
28
+ # The script will retry publish for 5 times with 60 seconds between the retries.
29
- name: Public mmtk-core
30
- cargo publish
31
+ for n in {1..5}; do
32
+ echo "Attempt #"$n
33
+ cargo publish && break
34
+ echo "Wait for Retry #"$n
35
+ sleep 60
36
+ done
0 commit comments