I have a Kotlin multiplatform project that needs to build on Windows, OSX and Linux.
Now, I want to deploy on Maven Central every time I create a release on GitHub and I managed to accomplish it (exept for Windows since using secured environmental variables crashes the build).
Problem is, the Nexus Central Repository does not allow parallel uploads and happens that while one job is uploading another one start uploading as well and fails. I could restart the job but it’s cumbersome. Is there any way to make a job wait for a step of another one? Otherwise I could turn off parallel build entirely but it sucks