-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cannot checkout named v8
ref in a container
#1876
Comments
If possible, install Git > 2.18 in the container. When not available, the Github REST API12 will be used as fallback3 and may lead to unexpected behavior4. In the release of Version 12.8.20, you can find the asset download link(s), for example Line 11 in d632683
Footnotes |
Thanks for the pointers. Of course I can work around the problem by installing git in the container. It doesn't change the fact that the fallback behavior is bewildering. If the fallback is broken then it should be fixed or removed. |
For sure! I didn't know that you were aware about the underlying problem. Related to #1879. |
This action does not work correctly from a container workflow.
A failed run is here:
https://github.com/laverdet/checkout-bug/actions/runs/10690612018/job/29635384696
Logs copy/pasted below here:
If I change ref to
"tags/12.8.20"
then it works. Additionally if I run without a container then it works.The text was updated successfully, but these errors were encountered: