eclipse-zenoh / ci

GitHub Actions and workflows used across eclipse-zenoh
Other
1 stars 3 forks source link

Allow re-running publishing crates step after failure #183

Open diogomatsubara opened 2 weeks ago

diogomatsubara commented 2 weeks ago

Describe the feature

When the publish crates workflow fails (or hangs) like this: https://github.com/eclipse-zenoh/zenoh/actions/runs/9592753181/job/26451953639 we are unable to re-run the same workflow with the same version because crates.io won't allow publishing the same version again. The code should be improved to check if the crate version already exists and skip publication. This way we can re-run the release workflow without the need to bump the version and yank the failed one from crates.io