From b017550ccffbcd824fcc62228a1cc58c693b7615 Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Sat, 11 May 2024 17:24:12 +0300 Subject: [PATCH] solve this stupid thing --- .github/workflows/gen_emu_config-build-win.yml | 9 +++++++++ .github/workflows/migrate_gse-build-win.yml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/gen_emu_config-build-win.yml b/.github/workflows/gen_emu_config-build-win.yml index ea77ed5e..2d016ac9 100644 --- a/.github/workflows/gen_emu_config-build-win.yml +++ b/.github/workflows/gen_emu_config-build-win.yml @@ -26,6 +26,15 @@ jobs: with: python-version: "3.10" +### on Windows Git will auto change line ending to CRLF, not preferable + - name: Ensure LF line ending + shell: cmd + working-directory: ${{ github.workspace }} + run: | + git config --local core.autocrlf false + git config --system core.autocrlf false + git config --global core.autocrlf false + - name: Checkout branch uses: actions/checkout@v4 diff --git a/.github/workflows/migrate_gse-build-win.yml b/.github/workflows/migrate_gse-build-win.yml index a9869a5a..54b1b230 100644 --- a/.github/workflows/migrate_gse-build-win.yml +++ b/.github/workflows/migrate_gse-build-win.yml @@ -26,6 +26,15 @@ jobs: with: python-version: "3.10" +### on Windows Git will auto change line ending to CRLF, not preferable + - name: Ensure LF line ending + shell: cmd + working-directory: ${{ github.workspace }} + run: | + git config --local core.autocrlf false + git config --system core.autocrlf false + git config --global core.autocrlf false + - name: Checkout branch uses: actions/checkout@v4