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 }}',
run_id: ${{ github.run_id }}
})
for(let job of jobsResponse.jobs){
if(github.job == job.name){
body+="\n\n [详细日志]("+job.html_url+")"
console.log("jobs",jobsResponse)
for(let i=0; i< jobsResponse.jobs.length; i++){
if(github.job == jobsResponse.jobs[i].name){
body+="\n\n [详细日志]("+jobsResponse.jobs[i].html_url+")"
}
}
}