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