-
I started getting this when publishing from Gradle to GPR in github actions for a project where it worked fine for a long time. Don’t know of any changes that could cause anything like this and definitely there were none since the last successful publish. I have tried refreshing the token just to be sure and some minor things like making path to maven repo lower case but after trying to figure this out for hours now I am at a loss how to fix it. Also tried setting gpr for a new private repo of mine and I am immediately getting the same error for the first build with everything setup as brand new. Any thoughts on what could be wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
So actually after posting this I found another topic about the same issue with a suggestion to change artifactid to lowercase, did that and now it works for me. The other topic:
Hi, we use Github Packages for deploying our Kotlin Multiplatform library to a private repo. Recently, I’ve been having trouble publishing a new version, the Gradle publish task fails with: Execution failed for task ':coreMechanics:publishAndroidDebugPublicationToGithubPackagesRepository'. > Failed to publish publication 'androidDebug' to repository 'GithubPackages' > Could not PUT 'https://maven.pkg.github.com/fireballrpg/fireball-multiplatform/fireball/coreMechanics-android-debug/1.6.4/co… |
Beta Was this translation helpful? Give feedback.
So actually after posting this I found another topic about the same issue with a suggestion to change artifactid to lowercase, did that and now it works for me.
The other topic: