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

View File

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