@@ -55,21 +55,28 @@ jobs:
55
55
uses : actions/github-script@v6
56
56
with :
57
57
script : |
58
- const matrix = context.matrix;
59
- const platform = matrix.group.platform;
60
- const jobs = matrix.group.jobs;
61
- console.log(`Calling container-upload workflow for platform: ${platform} with ${jobs.length} jobs`);
58
+ console.log("Full context object:");
59
+ console.dir(context, { depth: null }); // Use console.dir for full object inspection
62
60
63
- await github.rest.actions.createWorkflowDispatch({
64
- owner: context.repo.owner,
65
- repo: context.repo.repo,
66
- workflow_id: 'container-upload.yml', // Filename of the reusable workflow
67
- ref: context.ref, // Or specify a branch/tag
68
- inputs: {
69
- platform: platform,
70
- jobs: JSON.stringify(jobs) // Pass jobs as JSON string
71
- }
72
- });
61
+
62
+
63
+
64
+
65
+ # const matrix = context.matrix;
66
+ # const platform = matrix.group.platform;
67
+ # const jobs = matrix.group.jobs;
68
+ # console.log(`Calling container-upload workflow for platform: ${platform} with ${jobs.length} jobs`);
69
+
70
+ # await github.rest.actions.createWorkflowDispatch({
71
+ # owner: context.repo.owner,
72
+ # repo: context.repo.repo,
73
+ # workflow_id: 'container-upload.yml', // Filename of the reusable workflow
74
+ # ref: context.ref, // Or specify a branch/tag
75
+ # inputs: {
76
+ # platform: platform,
77
+ # jobs: JSON.stringify(jobs) // Pass jobs as JSON string
78
+ # }
79
+ # });
73
80
74
81
# codespace-upload:
75
82
# env:
0 commit comments