@@ -55,21 +55,28 @@ jobs:
5555        uses : actions/github-script@v6 
5656        with :
5757          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           
6260
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+   #  });
7380
7481  #  codespace-upload:
7582  #    env:
0 commit comments