From fe34f75aa3d6583bfba0bc67515287dfae8e9bd6 Mon Sep 17 00:00:00 2001 From: Axel Rindle Date: Fri, 9 Feb 2024 21:21:30 +0100 Subject: [PATCH] ci: force LF on windows --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aa3ea8d..7fee259 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,12 @@ jobs: - windows-latest runs-on: ${{ matrix.os }} steps: + - name: Set git to use LF + if: runner.os == 'Windows' + run: | + git config --global core.autocrlf false + git config --global core.eol lf + - name: Checkout uses: actions/checkout@v4 - name: Install Node.js