gitattributes: keep workflow manifests LF on Windows checkouts
A CRLF ci.yml turns every step command into "cmd\r", so bash fails to
find the referenced scripts on the Windows runner ("bash
./tooling/install-deps.sh: No such file or directory" — the file is
there, the command carries a trailing CR). Same class as the golden
JSON/OVE fix: pin *.yml/*.yaml to eol=lf.
This commit is contained in:
@@ -11,3 +11,9 @@
|
||||
# Windows checkouts too (text=auto would hand out CRLF there).
|
||||
*.json text eol=lf
|
||||
*.ove text eol=lf
|
||||
|
||||
# Workflow manifests: a CRLF ci.yml turns every step command into
|
||||
# "cmd\r", and bash then cannot find the referenced scripts on the
|
||||
# Windows runner ("No such file or directory").
|
||||
*.yml text eol=lf
|
||||
*.yaml text eol=lf
|
||||
|
||||
Reference in New Issue
Block a user