Public GitHub Package couldn't found via GitHub Actions in the same Organisation #24939
-
Hi, I recently started using GitHub Packages. The GitHub repositories are publicly accessible and should therefore be easy to use. Unfortunately, these are not found, for example in the IDE I am using, IntelliJ, but also not found in GitHub Actions. GitHub Package: Package dev.minecode.core.api · MineCodeDEV/Core · GitHub Does anyone know why the dependency can’t be found? Regards |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Unfortunately even public Maven packages still require authentication for download. The “Authenticating to GitHub Packages” section in this document explains how to do that: docs.github.comConfiguring Apache Maven for use with GitHub Packages - GitHub Docs//docs.github.com/en/packages/guides/configuring-apache-maven-for-use-with-github-packages AFAIK that applies to GitHub packages in general, only GHCR allows downloads of public images without any authentication. |
Beta Was this translation helpful? Give feedback.
-
Hi, Thank you for your answer. However, I can also use, for example, Configurate without authentication. Was there an attitude made there that I can also make? Regards |
Beta Was this translation helpful? Give feedback.
-
If I’m not mistaken the snippets on the page for each package show how to add the dependency to the |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks again for your answer. I’ve just authenticated myself and now everything works. Regards |
Beta Was this translation helpful? Give feedback.
Unfortunately even public Maven packages still require authentication for download. The “Authenticating to GitHub Packages” section in this document explains how to do that:
docs.github.com
Configuring Apache Maven for use with GitHub Packages - GitHub Docs
//docs.github.com/en/packages/guides/configuring-apache-maven-for-use-with-github-packages
AFAIK that applies to GitHub packages in general, only GHCR allows downloads of public images without any authentication.