[Windows] Runner failing to extract project - Path too long
See original GitHub issueDescribe the bug After succesfully setting up the first runner for our docs website, i moved on to the next. And here the extraction of the project is failing, as the path exceeds the max length allowed on windows.
`Exception calling “ExtractToDirectory” with “2” argument(s): “Could not find a part of the path ‘C:\actions-runner-my-r elewise_work\my.relewise.com\my.relewise.com\main\b7fc4a2e-4d2a-4ec4-a651-46d82e1b6b6c\brianhdk-my.relewise.com-77928d 6004bfaa38b59effe973533d51b9455863\src\Infrastructure.Database.Migrations\M1636740262_RemoveColumnsFromTriggersTables.c s’.” At line:1 char:111
- … catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('C:\a …`
I noticed the path that the runner is building, is somehow including 2 GUIDs…
Path: C:\actions-runner-my-relewise_work\my.relewise.com\my.relewise.com\b7fc4a2e-4d2a-4ec4-a651-46d82e1b6b6c\brianhdk-my.relewise.com-77928d6004bfaa38b59effe973533d51b9455863
Why is it doing this? Where are these 2 “GUID” folders coming from? The path it creates for our docs site is:
C:\actions-runner_work\docs.relewise.com\docs.relewise.com
No double nested GUID folders.
the .tar file it downloads is: b7fc4a2e-4d2a-4ec4-a651-46d82e1b6b6c.tar.gz where is this guid coming from?
Expected behavior Shouldnt extract into these crazy long paths.
Runner Version and Platform
2-288.1
Windows server 2019
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:16 (1 by maintainers)
Top GitHub Comments
This seems to happen only when
git
is not installed on the machine.After installing
git
, the checkout action worked fine.thanks,
I also managed to fix the issue using: https://www.microfocus.com/documentation/filr/filr-4/filr-desktop/t47bx2ogpfz7.html