Update gcr.io_mirror.yml

This commit is contained in:
AnJia 2022-03-04 09:58:27 +08:00 committed by GitHub
parent ad06cf67c7
commit b658e8fec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

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