diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-02-02 09:55:15 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-02-02 14:54:53 +0900 |
commit | e350b32837a824279e9dbba09139f6d0e4a4be0f (patch) | |
tree | 830de2e069a03cfe8c4f75f08f3548760ec4c017 /.github | |
parent | 5a33ef0586efbe1d7489f4696bd22499b0f2632a (diff) |
Add some git configurations in CIs
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/windows.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2febfb919b..1dbd4f51af 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,6 +12,7 @@ jobs: env: GITPULLOPTIONS: --no-tags origin ${{github.ref}} VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat + PATCH: C:\msys64\usr\bin\patch.exe if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - run: md build @@ -39,6 +40,8 @@ jobs: choco install --no-progress winflexbison3 --version=2.5.18.20190508 - name: git config run: | + git config --global core.autocrlf false + git config --global core.eol lf git config --global advice.detachedHead 0 - uses: actions/checkout@v2 with: |