"src/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "656d2676c2174781c91747ba158cb6d27f4cacbd"
Unverified Commit 3ad26a49 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] fix git checkout for CI jobs (fixes #5151) (#5152)

parent 6105ba9d
...@@ -180,6 +180,9 @@ jobs: ...@@ -180,6 +180,9 @@ jobs:
- r_customization: csan - r_customization: csan
compiler: clang compiler: clang
steps: steps:
- name: Trust git cloning LightGBM
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2.4.0 uses: actions/checkout@v2.4.0
with: with:
...@@ -210,6 +213,9 @@ jobs: ...@@ -210,6 +213,9 @@ jobs:
run: | run: |
apt-get update --allow-releaseinfo-change apt-get update --allow-releaseinfo-change
apt-get install --no-install-recommends -y git apt-get install --no-install-recommends -y git
- name: Trust git cloning LightGBM
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2.4.0 uses: actions/checkout@v2.4.0
with: with:
......
...@@ -49,6 +49,9 @@ jobs: ...@@ -49,6 +49,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: rocker/verse container: rocker/verse
steps: steps:
- name: Trust git cloning LightGBM
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2.4.0 uses: actions/checkout@v2.4.0
with: with:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment