Update gcr.io_mirror.yml

This commit is contained in:
AnJia 2022-03-04 10:09:39 +08:00 committed by GitHub
parent 1ff49dd93e
commit 1ed6028ca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -143,8 +143,12 @@ jobs:
repo: '${{ env.REPO_NAME }}',
run_id: ${{ github.run_id }}
})
console.log("jobs",jobsResponse['jobs'][0])
body+="\n\n [详细日志]("+jobsResponse["jobs"][0]["html_url"]+")"
console.log("jobs",jobsResponse['data'])
for(let job of jobsResponse['data']['jobs']){
if(github.job == job.name){
body+="\n\n [详细日志]("+job.html_url+")"
}
}
}
const issuesComment = await github.issues.createComment({
owner: '${{ env.GH_USER }}',