Update gcr.io_mirror.yml

This commit is contained in:
AnJia
2022-03-04 09:37:43 +08:00
committed by GitHub
parent 1aafb64270
commit ad06cf67c7

View File

@@ -143,9 +143,10 @@ jobs:
repo: '${{ env.REPO_NAME }}', repo: '${{ env.REPO_NAME }}',
run_id: ${{ github.run_id }} run_id: ${{ github.run_id }}
}) })
for(let job of jobsResponse.jobs){ console.log("jobs",jobsResponse)
if(github.job == job.name){ for(let i=0; i< jobsResponse.jobs.length; i++){
body+="\n\n [详细日志]("+job.html_url+")" if(github.job == jobsResponse.jobs[i].name){
body+="\n\n [详细日志]("+jobsResponse.jobs[i].html_url+")"
} }
} }
} }