1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add some git configurations in CIs

This commit is contained in:
Nobuyoshi Nakada 2021-02-02 09:55:15 +09:00
parent 5a33ef0586
commit e350b32837
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
2 changed files with 6 additions and 0 deletions

View file

@ -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:

View file

@ -3,6 +3,9 @@ version: '{build}'
init:
- git config --global user.name git
- git config --global user.email svn-admin@ruby-lang.org
- git config --global core.autocrlf false
- git config --global core.eol lf
- git config --global advice.detachedHead 0
clone_depth: 10
platform:
- x64