From 5e26057f9c8df223d94fda6951b9926e2782f53e Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Mon, 19 Feb 2024 19:02:43 -0500 Subject: [PATCH] force unix line endings --- .github/workflows/ant.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml index 0cbb551..8342c32 100644 --- a/.github/workflows/ant.yml +++ b/.github/workflows/ant.yml @@ -14,10 +14,14 @@ jobs: - uses: Vampire/setup-wsl@v3 with: distribution: Ubuntu-20.04 + - name: Set git to use LF + run: | + git config --global core.autocrlf false + git config --global core.eol lf - uses: actions/checkout@v4 - run: apt-get update - run: apt-get install -y nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg gettext - - run: find . -name *.sh -exec unix2dos {} \; + - run: find . -name *.sh -exec dos2unix {} \; - name: Set up JDK 21 uses: actions/setup-java@v4 with: @@ -74,10 +78,14 @@ jobs: - uses: Vampire/setup-wsl@v3 with: distribution: Ubuntu-20.04 + - name: Set git to use LF + run: | + git config --global core.autocrlf false + git config --global core.eol lf - uses: actions/checkout@v4 - run: apt-get update - run: apt-get install -y nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg gettext - - run: find . -name *.sh -exec unix2dos {} \; + - run: find . -name *.sh -exec dos2unix {} \; - name: Set up JDK 21 uses: actions/setup-java@v4 with: