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

View File

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