File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
script/push-mlperf-inference-results-to-github Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 13
13
steps :
14
14
- uses : actions/checkout@v4
15
15
16
+
16
17
# Checks the status of hyperlinks in .md files in verbose mode
17
18
- name : Check links
18
19
uses : gaurav-nelson/github-action-markdown-link-check@v1
Original file line number Diff line number Diff line change @@ -28,8 +28,12 @@ git commit -a -m "%MLC_MLPERF_RESULTS_REPO_COMMIT_MESSAGE%"
28
28
29
29
if defined MLC_MLPERF_INFERENCE_SUBMISSION_DIR call %MLC_SET_REMOTE_URL_CMD%
30
30
31
- echo " %MLC_GIT_PUSH_CMD% "
32
- %MLC_GIT_PUSH_CMD%
31
+ @ if errorlevel 1 (
32
+ timeout /t %random:~0 ,3 % /nobreak > nul
33
+ git pull --rebase
34
+ %MLC_GIT_PUSH_CMD%
35
+ )
36
+
33
37
34
38
REM Check if the previous command was successful
35
39
if %errorlevel% neq 0 exit /b %errorlevel%
You can’t perform that action at this time.
0 commit comments