Skip to content

Commit

Permalink
Debug tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shBLOCK committed May 7, 2024
1 parent 3112b2b commit 84678b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 84678b7

Please sign in to comment.