File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 git config --global credential.helper 'store --file /tmp/git-credentials'
6363 echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
6464
65- - name : Enable Git Long-paths Support
65+ - name : Enable Git Long-paths Support and LF line endings
6666 if : runner.os == 'Windows'
67- run : git config --system core.longpaths true
67+ run : |
68+ git config --system core.longpaths true
69+ git config --global core.eol lf
6870
6971 - name : Check expanded matrix config
7072 if : github.event.inputs.expanded_matrix == '1'
Original file line number Diff line number Diff line change @@ -102,9 +102,11 @@ jobs:
102102 git config --global credential.helper 'store --file /tmp/git-credentials'
103103 echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
104104
105- - name : Enable Git Long-paths Support
105+ - name : Enable Git Long-paths Support and LF line endings
106106 if : runner.os == 'Windows'
107- run : git config --system core.longpaths true
107+ run : |
108+ git config --system core.longpaths true
109+ git config --global core.eol lf
108110
109111 - name : Setup Xcode version (macos)
110112 if : runner.os == 'macOS'
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ echo 'https://${GITHUB_TOKEN}@github.com' > /tmp/git-credentials
5252
5353if [[ " ${OS} " == " Windows" ]]; then
5454 git config --system core.longpaths true
55+ git config --global core.eol lf
5556fi
5657
5758if [[ " ${OS} " == " Mac" ]]; then
You can’t perform that action at this time.
0 commit comments