From c035c6bcea282fb31c08eddae73b16fb8e5543f0 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 10 Feb 2022 01:26:01 +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 20b316f..4d5f711 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -127,6 +127,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 - uses: actions/checkout@v2 with: fetch-depth: 0 -- cgit v1.1-32-gdbae