Skip to content

Commit f834cce

Browse files
Fix cross-platform test: disable git line ending conversion on clone
Git's autocrlf converts LF→CRLF on Windows checkout, making file content differ between platforms. Force LF everywhere so the same bytes are archived on both OSes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3337b7f commit f834cce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/determinism.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: dotnet --info
2727

2828
- name: Clone test data
29-
run: git clone --depth 1 https://github.com/MS2Community/MapleStory2-XML.git test-data
29+
run: git clone --depth 1 -c core.autocrlf=false -c core.eol=lf https://github.com/MS2Community/MapleStory2-XML.git test-data
3030

3131
- name: Build
3232
run: dotnet build MS2Tools.sln -c Release

0 commit comments

Comments
 (0)