From 064fcbf0e7ab9d620567877ee42da043281d2906 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 10 Feb 2022 04:25:18 +0100 Subject: [github-actions] Windows: Prevent -dirty suffix in version string by disabling CRLF conversion --- .gitattributes | 1 + .github/workflows/build.yml | 1 + 2 files changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..176a458 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f52bc14..3de4c08 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -139,6 +139,7 @@ jobs: dest=`echo ${{ matrix.msystem }} |tr [:upper:] [:lower:]` echo "dest=$dest" >> $GITHUB_ENV echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV + git config --global core.autocrlf false - name: fetch libplist uses: dawidd6/action-download-artifact@v2 with: -- cgit v1.1-32-gdbae