Add some git configurations in CIs
This commit is contained in:
parent
5a33ef0586
commit
e350b32837
3
.github/workflows/windows.yml
vendored
3
.github/workflows/windows.yml
vendored
@ -12,6 +12,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
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]')"
|
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
||||||
steps:
|
steps:
|
||||||
- run: md build
|
- run: md build
|
||||||
@ -39,6 +40,8 @@ jobs:
|
|||||||
choco install --no-progress winflexbison3 --version=2.5.18.20190508
|
choco install --no-progress winflexbison3 --version=2.5.18.20190508
|
||||||
- name: git config
|
- name: git config
|
||||||
run: |
|
run: |
|
||||||
|
git config --global core.autocrlf false
|
||||||
|
git config --global core.eol lf
|
||||||
git config --global advice.detachedHead 0
|
git config --global advice.detachedHead 0
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
@ -3,6 +3,9 @@ version: '{build}'
|
|||||||
init:
|
init:
|
||||||
- git config --global user.name git
|
- git config --global user.name git
|
||||||
- git config --global user.email svn-admin@ruby-lang.org
|
- 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
|
clone_depth: 10
|
||||||
platform:
|
platform:
|
||||||
- x64
|
- x64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user