Skip to content

Commit ed54383

Browse files
fix the path issue
1 parent 7bac258 commit ed54383

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/_linux_ut.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ jobs:
166166
gh --repo intel/torch-xpu-ops issue view ${REFERENCE_ISSUE_ID} --json body -q .body 2>&1 |tee body.txt
167167
REFERENCE_RUN_ID="$(cat body.txt |grep "Inductor-${artifact_type}-LTS2" |sed 's/.*: *//' || echo '')"
168168
if [ "${REFERENCE_RUN_ID}" != "" ];then
169-
gh --repo intel/torch-xpu-ops run download ${REFERENCE_RUN_ID} -p "Inductor-XPU-UT-Data-*"
170-
find Inductor-XPU-UT-Data-*/ -maxdepth 1 -mindepth 1 -type d |sort -V |\
171-
while read line; do rsync -az --delete $line/ $(basename $line)/; done
172-
rm -rf Inductor-XPU-UT-Data-* || true
169+
gh --repo intel/torch-xpu-ops run download ${REFERENCE_RUN_ID} -p "Inductor-XPU-UT-Data-*${{ inputs.ut }}*"
170+
find Inductor-XPU-UT-Data-*${{ inputs.ut }}*/ -type f -path "*/Inductor-XPU-UT-Data-*/*" -print0 | \
171+
xargs -0 -I {} cp {} .
172+
rm -rf Inductor-XPU-UT-Data-*${{ inputs.ut }}* || true
173173
fi
174174
- name: Check UT Results
175175
run: |

0 commit comments

Comments
 (0)