Update gcr.io_mirror.yml

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

View File

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