Closed yutannihilation closed 6 months ago
Even if all the files are LF on local, it seems GitHub ACtions CI checks it out as CRLF on Windows runner, so replace CRLF to LF here just to make sure.
This is due to a pesky default setting of Git for Windows.
We can set * text=auto eol=lf
in the .gitattributes
file in the repo.
https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
Oh, thanks for the tip!
Even if all the files are LF on local, it seems GitHub ACtions CI checks it out as CRLF on Windows runner, so replace CRLF to LF here just to make sure.