Replies: 3 comments 1 reply
-
Here are some steps to troubleshoot this issue: Verify Repository Configuration: Double-check that the URL you've specified in your build. gradle file (https://maven.pkg.github.com/CiscoM31/repository) is correct and matches the repository URL. Ensure Repository Exists: Verify Credentials: Check Package Coordinates: Sync Gradle Project: Ensure Package Version Exists: Verify Repository Name: Check for Typos and Mistakes: GitHub Package Visibility: If none of the above steps resolve the issue, consider reaching out to GitHub Support for further assistance. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Github packages
Question
Body
This is the first time, I am trying to publish a jar from my gradle project. I am providing correct username and token. But still it throws 404 from server. The project is https://github.com/CiscoM31/conductor-custom. Do I need to create directory on github packages first before publishing jars in github packages? My git hub token has both readpackage and write package permissions.
Execution failed for task ':publishGprPublicationToGitHubPackagesRepository'.
Gradle config:
publishing {
repositories {
maven {
name = "GitHubPackages"
group = "com.cisco.conductor"
url = uri("https://maven.pkg.github.com/CiscoM31/repository")
credentials {
username = "abcd"
password = "1234"
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions