There was an error for file name too long when running the "checking out the ref" step:
I was not able to run any other actions for my repository due to this issue. What is the upper limit of file path name length and could we increase or remove such limit? Thank you!
Is it on Windows? Are you using the hosted runners?
As a workaround you might be able to set git config --global core.longpaths true before the checkout step.
Cool that works! Yes it is on windows-latest, and the following is able to work around the problem:
runs-on: windows-latest
steps:
- name: git configure long path
run: git config --global core.longpaths true
- uses: actions/checkout@v2
Most helpful comment
Cool that works! Yes it is on
windows-latest, and the following is able to work around the problem:runs-on: windows-lateststeps:- name: git configure long pathrun: git config --global core.longpaths true- uses: actions/checkout@v2