Skip to content

Commit 0c68175

Browse files
authored
fix actions bug (#3018)
1 parent c7a38ab commit 0c68175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/repo_sync_dispatch_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
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)."

0 commit comments

Comments
 (0)