Skip to content

Commit 1e20878

Browse files
committed
update
1 parent b88965d commit 1e20878

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/actions/linux-testenv/action.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,9 @@ runs:
101101
TORCH_XPU_OPS_COMMIT="${{ inputs.torch_xpu_ops }}"
102102
fi
103103
fi
104-
if [ "${{ github.event_name }}" == "pull_request" ];then
105-
cp -r ${{ github.workspace }}/torch-xpu-ops third_party/torch-xpu-ops
106-
cd third_party/torch-xpu-ops
107-
else
108-
git clone ${TORCH_XPU_OPS_REPO} third_party/torch-xpu-ops
109-
cd third_party/torch-xpu-ops
110-
git checkout ${TORCH_XPU_OPS_COMMIT}
111-
fi
104+
git clone ${TORCH_XPU_OPS_REPO} third_party/torch-xpu-ops
105+
cd third_party/torch-xpu-ops
106+
git checkout ${TORCH_XPU_OPS_COMMIT}
112107
git status && git diff && git show -s
113108
- name: Install E2E Requirements
114109
shell: bash -xe {0}

0 commit comments

Comments
 (0)