File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 62
62
git config --global credential.helper 'store --file /tmp/git-credentials'
63
63
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
64
64
65
- - name : Enable Git Long-paths Support
65
+ - name : Enable Git Long-paths Support and LF line endings
66
66
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
68
70
69
71
- name : Check expanded matrix config
70
72
if : github.event.inputs.expanded_matrix == '1'
Original file line number Diff line number Diff line change @@ -102,9 +102,11 @@ jobs:
102
102
git config --global credential.helper 'store --file /tmp/git-credentials'
103
103
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
104
104
105
- - name : Enable Git Long-paths Support
105
+ - name : Enable Git Long-paths Support and LF line endings
106
106
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
108
110
109
111
- name : Setup Xcode version (macos)
110
112
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
52
52
53
53
if [[ " ${OS} " == " Windows" ]]; then
54
54
git config --system core.longpaths true
55
+ git config --global core.eol lf
55
56
fi
56
57
57
58
if [[ " ${OS} " == " Mac" ]]; then
You can’t perform that action at this time.
0 commit comments