Skip to content

Commit faa2d6f

Browse files
committed
ci: squash this commit
Signed-off-by: Yi Huang <yi@secondstate.io>
1 parent eb4c734 commit faa2d6f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,11 @@ jobs:
5656
platforms.push(platform.asset_tag);
5757
});
5858
59-
let artifacts = [];
60-
github
59+
let artifacts = await github
6160
.paginate(github.rest.actions.listWorkflowRunArtifacts, {
6261
owner: context.repo.owner,
6362
repo: context.repo.repo,
6463
run_id: context.runId,
65-
})
66-
.then((page) => {
67-
artifacts.push(...page);
6864
});
6965
7066
console.log(artifacts);

0 commit comments

Comments
 (0)