This commit is contained in:
AnJia 2022-05-24 09:44:54 +08:00 committed by GitHub
parent 4242e4a666
commit c71c543173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 2 deletions

View File

@ -170,8 +170,17 @@ jobs:
labels=['failed']
}
let abc = "${{ steps.pullIssuesPorter.outputs.GCR_IMAGE }}"
console.log(abc)
let gcrImg = "${{ steps.pullIssuesPorter.outputs.GCR_IMAGE }}"
console.log(gcrImg)
let colonIndex = gcrImg.indexOf(":")
console.log(colonIndex)
if colonIndex>0 {
gcrImg=gcrImg.substr(0,colonIndex)
}
console.log(gcrImg)
const issuesComment = await github.issues.createComment({
owner: '${{ env.GH_USER }}',
repo: '${{ env.REPO_NAME }}',