aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/debug.yml6
-rw-r--r--.github/workflows/release.yml5
2 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml
index 97dcf4e2..1b6b2f53 100644
--- a/.github/workflows/debug.yml
+++ b/.github/workflows/debug.yml
@@ -27,6 +27,12 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
+ - name: Set git to use LF(Windows) or CRLF(MacOS) line endings
+ run: |
+ git config --global core.autocrlf false
+ git config --global core.eol lf
+ if: matrix.os == 'windows-2019' || matrix.os == 'macos-10.15'
+
- uses: actions/checkout@v2
with:
submodules: recursive
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a44c0c9f..9b0f00dd 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -26,6 +26,11 @@ jobs:
os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2019' ]
runs-on: ${{ matrix.os }}
steps:
+ - name: Set git to use LF(Windows) or CRLF(MacOS) line endings
+ run: |
+ git config --global core.autocrlf false
+ git config --global core.eol lf
+ if: matrix.os == 'windows-2019' || matrix.os == 'macos-10.15'
- uses: actions/checkout@v2
with: