File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 4646 tar -cf $REPO_NAME.tar ${{ github.event.client_payload.path }}
4747 python -m pip install bce-python-sdk==0.8.74
4848 # 获取远端的最新提交时间
49- latest_commit_time_remote=$(curl -s https://paddle-qa.bj.bcebos.com/CodeSync/${{ github.event.client_payload.repository }}/${{ github.event.client_payload.ref }}/latest_commit_time) || latest_commit_time_remote=""
49+ latest_commit_time_remote=$(curl --silent --fail https://paddle-qa.bj.bcebos.com/CodeSync/${{ github.event.client_payload.repository }}/${{ github.event.client_payload.ref }}/latest_commit_time) || latest_commit_time_remote=""
5050 # 判断 latest_commit_time_remote 是否晚于 current_commit_time 时间
5151 if [ -n "$latest_commit_time_remote" ] && [ "$latest_commit_time_remote" -lt "$current_commit_time" ]; then
5252 echo "Executing upload as latest commit time ($latest_commit_time_remote) is earlier than current commit time ($current_commit_time)."
You can’t perform that action at this time.
0 commit comments