diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index bdbcf3887e..b4799bacf1 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -28,9 +28,9 @@ jobs: working-directory: - name: git config run: | - git config --system core.autocrlf false - git config --system core.eol lf - git config --system advice.detachedHead 0 + git config --global core.autocrlf false + git config --global core.eol lf + git config --global advice.detachedHead 0 - uses: actions/checkout@v2 with: path: src diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 98e59ae188..2febfb919b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -39,7 +39,7 @@ jobs: choco install --no-progress winflexbison3 --version=2.5.18.20190508 - name: git config run: | - git config --system advice.detachedHead 0 + git config --global advice.detachedHead 0 - uses: actions/checkout@v2 with: path: src