Skip to content

Commit adb2a6b

Browse files
authored
Meta: Cleanup render-pr.yml
1 parent 61680f4 commit adb2a6b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/render-pr.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
script: |
3030
const { owner, repo } = context.repo;
3131
const run_id = ${{ github.run_id }};
32-
console.log(
33-
'all artifacts for run id ${{ github.run_id }}',
34-
await github.rest.actions.listWorkflowRunArtifacts({ owner, repo, run_id }),
35-
);
36-
console.log(
37-
'"result" artifacts for run id ${{ github.run_id }}',
38-
await github.rest.actions.listWorkflowRunArtifacts({ owner, repo, run_id, name: "result" }),
39-
);
32+
const listArtifactsResponse =
33+
await github.rest.actions.listWorkflowRunArtifacts({ owner, repo, run_id });
34+
console.log(`artifacts for run id ${run_id}`, listArtifactsResponse?.data);

0 commit comments

Comments
 (0)