"...git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "68ec99e946129298b2e6d8e6463886fe6b22a5df"
Unverified Commit 41fb7236 authored by Hongxin Liu's avatar Hongxin Liu Committed by GitHub
Browse files

[devops] hotfix CI about testmon cache (#3910)

* [devops] hotfix CI about testmon cache

* [devops] fix testmon cahe on pr
parent 0e484e62
...@@ -65,10 +65,10 @@ jobs: ...@@ -65,10 +65,10 @@ jobs:
run: | # branch name may contain slash, we need to replace it with space run: | # branch name may contain slash, we need to replace it with space
export BASE=$(echo ${{ github.event.pull_request.base.ref }} | sed "s/\// /") export BASE=$(echo ${{ github.event.pull_request.base.ref }} | sed "s/\// /")
if [ -d "/github/home/testmon_cache/${BASE}" ]; then if [ -d "/github/home/testmon_cache/${BASE}" ]; then
[ ! -z "$(ls -A "/github/home/testmon_cache/${BASE}")" ] && mkdir /github/home/testmon_cache/_pull && cp -p -r "/github/home/testmon_cache/${BASE}" /github/home/testmon_cache/_pull/${PR_NUMBER} [ ! -z "$(ls -A "/github/home/testmon_cache/${BASE}")" ] && mkdir -p /github/home/testmon_cache/_pull && cp -p -r "/github/home/testmon_cache/${BASE}" /github/home/testmon_cache/_pull/${PR_NUMBER}
fi fi
env: env:
PR_NUMBER: ${{ github.event.pull_request.head.ref }} PR_NUMBER: ${{ github.event.number }}
detect: detect:
name: Detect file change name: Detect file change
......
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