-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Description
Steps to Reproduce
- Create a repository that ends in a dot (e.g.
G.A.B.R.
) - Write a GitHub Actions workflow that uses
actions/checkout
and a Windows platform - Run the workflow
Actual Behavior
All Windows builds fail with the error along the lines of: Directory 'D:\a\G.A.B.R.\G.A.B.R.' does not exist
That's because Windows doesn't allow directories that end with a .
, thus the directory is never created.
Expected Behavior
A valid working directory is picked on Windows platforms.
Maybe, if desired, a warning message is printed, indicating of the directory name mismatch, due to Windows.
Example
I created an example repository for this: G.A.B.R.
And ran GitHub Actions on two different branches:
- Plain checkout
- Checkout with
path
- Trying to use a different parent doesn't work (for obvious reasons)
If anyone knows a workaround, let me know. 🙂
Metadata
Metadata
Assignees
Labels
No labels