Skip to content

Conversation

@qinsoon
Copy link
Member

@qinsoon qinsoon commented Jun 28, 2022

This PR adds retry in the github workflow for publishing the crates.

As we introduced a sub-crate mmtk-macros in #575, we need to publish both mmtk-macros and mmtk. What we do for the workflow is that we publish mmtk-macros first, and then publish mmtk. However, in practice, we have seen that the workflow runs failed since the change (v0.12.0 and v0.13.0). The publishing for mmtk-macros succeeded, but the publishing for mmtk failed due to missing the dependency for mmtk-macros. I published those two versions manually with simply cargo publish, and it worked fine. I think there could be some delay in crates.io before we can see the new version of mmtk-macros that we publish. Hopefully adding retry for publishing mmtk can fix this.

@qinsoon qinsoon marked this pull request as ready for review June 28, 2022 02:19
@qinsoon qinsoon requested a review from wks June 28, 2022 02:19
Copy link
Collaborator

@wks wks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but there is room for improvement.

@qinsoon qinsoon merged commit 89a6f4a into mmtk:master Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants