I have a Gradle Kotlin project with plenty of subprojects and tried to publish it to GitHub Packages for the first time. The publication process failed midway due to a network error, something which is not uncommon.
Now it seems to be impossible to resume the process to complete the publication. I keep getting 409 Conflict responses because Gradle tries to re-upload some packages that have already been published to GitHub Packages successfully.
How can I make the publication process reliable?
I either need to be able to overwrite existing packages or resume an incomplete publication process. And that without any manual work involved.
Thanks,
Marc