ci: Debug

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-07-24 16:10:45 +02:00
parent 4709b114bd
commit 5ea3df64a9
No known key found for this signature in database
GPG Key ID: 228A77789D71A6E2

View File

@ -86,7 +86,7 @@ jobs:
with: with:
github-token: ${{ steps.get-app-token.outputs.token }} github-token: ${{ steps.get-app-token.outputs.token }}
script: | script: |
var result: Record<string,string> = {} let result = new Object
const wfJobs = await github.actions.listJobsForWorkflowRun({ const wfJobs = await github.actions.listJobsForWorkflowRun({
owner: context.repo.owner, owner: context.repo.owner,
@ -96,9 +96,9 @@ jobs:
for (const job of wfJobs.data.jobs) { for (const job of wfJobs.data.jobs) {
if (job.name === 'Lint charts') { if (job.name === 'Lint charts') {
result.lint = job.conclusion result['lint'] = job.conclusion
} else if (job.name === 'Install successful') { } else if (job.name === 'Install successful') {
result.install = job.conclusion result['install'] = job.conclusion
} }
} }