From 84678b7227838ff48b3405091f50c89505fca390 Mon Sep 17 00:00:00 2001 From: shBLOCK <50770712+shBLOCK@users.noreply.github.com> Date: Tue, 7 May 2024 21:55:14 +0800 Subject: [PATCH] Debug tests.yml --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2116b36..376f1ed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,10 +29,11 @@ jobs: let runs = await github.rest.actions.listWorkflowRuns({ owner: context.repo.owner, repo: context.repo.repo, - workflow_id: "codegen.yml" + workflow_id: "codegen.yml", + status: "success" }) + console.log("runs: " + JSON.stringify(runs)) let latest = runs.data.workflow_runs.sort(run => -run.run_number)[0] - console.log("latest: " + JSON.stringify(latest)) let artifacts = await github.rest.actions.listWorkflowRunArtifacts({ owner: context.repo.owner,