ruby-changes:65114
From: Nobuyoshi <ko1@a...>
Date: Tue, 2 Feb 2021 15:17:53 +0900 (JST)
Subject: [ruby-changes:65114] e350b32837 (master): Add some git configurations in CIs
https://git.ruby-lang.org/ruby.git/commit/?id=e350b32837 From e350b32837a824279e9dbba09139f6d0e4a4be0f Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 2 Feb 2021 09:55:15 +0900 Subject: Add some git configurations in CIs --- .github/workflows/windows.yml | 3 +++ appveyor.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2febfb9..1dbd4f5 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,6 +12,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L12 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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L40 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: diff --git a/appveyor.yml b/appveyor.yml index d31d4b2..6b9e6e9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,6 +3,9 @@ version: '{build}' https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L3 init: - git config --global user.name git - git config --global user.email svn-admin@r... + - git config --global core.autocrlf false + - git config --global core.eol lf + - git config --global advice.detachedHead 0 clone_depth: 10 platform: - x64 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/