Skip to content

Commit 30604db

Browse files
authored
Update main.yml
1 parent c469bcb commit 30604db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ jobs:
5555
uses: actions/github-script@v6
5656
with:
5757
script: |
58-
const matrix = {};
59-
const platform = matrix.group.platform;
60-
const jobs = matrix.group.jobs;
58+
const matrix = JSON.parse('${{ toJson(matrix.group) }}');
59+
const platform = matrix.platform;
60+
const jobs = matrix.jobs;
6161
console.log(`Calling container-upload workflow for platform: ${platform} with ${jobs.length} jobs`);
6262
6363
await github.rest.actions.createWorkflowDispatch({

0 commit comments

Comments
 (0)