dotnet / arcade

Tools that provide common build infrastructure for multiple .NET Foundation projects.
MIT License
657 stars 331 forks source link

Enable git long path for inter-branch workflow #14901

Closed f-alizada closed 6 days ago

f-alizada commented 1 week ago

Context

The workflow failed on dotnet/templating repository due to the long path of the file name. image https://github.com/dotnet/templating/actions/runs/9670964853/job/26680671521#step:2:354

Changes

Beefore actual checkout of the repository set the core.longpaths enabled for git.

Change tested on forked repository: https://github.com/f-alizada/dotnet-templating/actions/runs/9676019214/job/26697652132

FYI: @marcpopMSFT