svn commit: r1920770 - /subversion/trunk/.github/workflows/cmake.yml

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: rinrab
Date: Wed Sep 18 13:45:41 2024
New Revision: 1920770

URL: http://svn.apache.org/viewvc?rev=1920770&view=rev
Log:
GitHub Actions: Using LF for Git checkout.

Using of CRLF ends-of-line causes some problems with binary-files, stored in
the repository. This is not the best resolution, because the information
about them will be lost.

* .github/workflows/cmake.yml
  (): Add step that does some modifications in Git config to change the
   end-of-line style.

Modified:
    subversion/trunk/.github/workflows/cmake.yml

Modified: subversion/trunk/.github/workflows/cmake.yml
URL: http://svn.apache.org/viewvc/subversion/trunk/.github/workflows/cmake.yml?rev=1920770&r1=1920769&r2=1920770&view=diff
==============================================================================
--- subversion/trunk/.github/workflows/cmake.yml (original)
+++ subversion/trunk/.github/workflows/cmake.yml Wed Sep 18 13:45:41 2024
@@ -89,6 +89,11 @@ jobs:
           libsqlite3-dev
           ninja-build
 
+      - name: Use LF for Git checkout
+        run: |
+          git config --global core.autocrlf false
+          git config --global core.eol lf
+
       - uses: actions/checkout@v4
 
       - name: gen-make
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.