[workflow] handled the git directory ownership error (#1741)

pull/1743/head
Frank Lee 2022-10-19 11:59:11 +08:00 committed by GitHub
parent d373e67b99
commit 9d0560af9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ jobs:
run: | run: |
cp -r ./.github/workflows/scripts/* ./ cp -r ./.github/workflows/scripts/* ./
ln -s /github/home/pip_wheels ./pip_wheels ln -s /github/home/pip_wheels ./pip_wheels
git config --global --add safe.directory /__w/ColossalAI/ColossalAI
git checkout $git_ref git checkout $git_ref
wget https://github.com/NVIDIA/cub/archive/refs/tags/1.8.0.zip wget https://github.com/NVIDIA/cub/archive/refs/tags/1.8.0.zip
unzip 1.8.0.zip unzip 1.8.0.zip