We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17db6ab commit 8b4e954Copy full SHA for 8b4e954
.github/workflows/build.yml
@@ -30,3 +30,26 @@ jobs:
30
plugins: ${{ toJSON(matrix.plugins) }}
31
version: ${{ needs.get-versions.outputs.version }}
32
secrets: inherit
33
+
34
+ summarize:
35
+ needs:
36
+ - get-versions
37
+ - parse-plugins
38
+ - linux
39
+ runs-on: ubuntu-latest
40
+ steps:
41
+ - uses: actions/github-script@v7
42
+ with:
43
+ script: |
44
+ core.summary("# List artifacts");
45
+ const opts = {
46
+ owner: context.repo.owner,
47
+ repo: context.repo.repo,
48
+ run_id: context.runId,
49
+ };
50
+ octokit
51
+ .paginate(octokit.rest.actions.listWorkflowRunArtifacts, opts)
52
+ .then((artifacts) => {
53
+ core.summary(`* number of artifacts: ${artifacts.length}`);
54
+ console.log(artifacts[0]);
55
+ });
0 commit comments