-
-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build from private repos using git-lfs cannot be used #430
Comments
I just encountered this problem also. Is this something someone can look at? |
If I do understand this person from Unity correct, the problem can be lay in the insufficient usage of git credential helper inside the Unity container: https://forum.unity.com/threads/git-lfs-fails-on-private-repos-in-package-manager.1327368/#post-8460623 Could it be that game-ci does not transfer the git credentials to the Unity container in the correct way when using the |
We have exactly the same issue. |
Is this still an issue? I set up a test where I created a upm git repo with a png in lfs and the action will pull the package without issue. Is there anything non-standard like custom lfs servers? |
Hello and thanks or that awesome project.
Bug description
when a private repository contains git-lfs data, an error comes up in the build-action saying that git-lfs is missing the credentials:
Since checking out the repo of that Unity package via
gitPrivateToken
already worked, I assume that the credentials are correct but apparently not used for git-lfs. I thought it was a Unity problem at first, so I reported it there: https://forum.unity.com/threads/git-lfs-fails-on-private-repos-in-package-manager.1327368/#post-8406315But maybe it is also a game-ci problem?
How to reproduce
Put files into a Unity package repository using git-lfs.
Then use this package in a Unity project that is being built by game-ci.
Expected behavior
gitPrivateToken
should not only provide the token to git, but also to git-lfs.The text was updated successfully, but these errors were encountered: