yarner icon indicating copy to clipboard operation
yarner copied to clipboard

[CI] Fix CI action for publishing to crates.io

Open mlange-42 opened this issue 4 years ago • 3 comments

While publishing for yarner-lib to crates.io works, it fails for yarner with JavaScript heap out of memory (see CI run https://github.com/mlange-42/yarner/runs/2196902286)

mlange-42 avatar Apr 01 '21 10:04 mlange-42

Maybe just invoking cargo publish directly would help? The JavaScript error seems to implicate the katyo/publish-crates action.

adamreichold avatar Apr 01 '21 11:04 adamreichold

Or maybe you just need to set path: . explicitly to avoid the recursive search going haywire.

adamreichold avatar Apr 01 '21 11:04 adamreichold

By the way, from the description of the action on the marketplace, i.e.

Skips publishing of internal dependencies which does not updated

and

Awaits when published crate will be available in registry before publishing crates which depends from it

suggest, that it could be made to publish both the library and the binaries in one go including the necessary waiting.

adamreichold avatar Apr 01 '21 11:04 adamreichold