From 42123faec02a125afffdd10fef4d67a9a8e6f65d Mon Sep 17 00:00:00 2001 From: cuttestkittensrule Date: Sat, 24 Aug 2024 18:00:28 -0700 Subject: [PATCH] Hopefully permanently fix CI CI was complaining about CRLF line endings. This commit *should* automatically convert gradlew to LF, so it can be run without failing --- .github/workflows/gradle.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 26d053d..d49850b 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -21,6 +21,12 @@ jobs: cache: gradle - name: Setup Gradle uses: gradle/gradle-build-action@v2 + - name: Ensure LF + working-directory: Robot2024 + run: set -o xtrace + \ tr -d '\015' < "gradlew">"gradlew.temp" + \ rm -f "gradlew" + \ mv "gradlew.temp" "gradlew" - name: Run build with Gradle Wrapper working-directory: Robot2024 run: ./gradlew build