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

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 }}',