Skip to content

Commit 39b50d7

Browse files
authored
Update main.yml
1 parent 615bf64 commit 39b50d7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ jobs:
5555
uses: actions/github-script@v6
5656
with:
5757
script: |
58-
const platform = ${{ matrix.group.platform }};
59-
const jobs = ${{ matrix.group.jobs }};
58+
const matrix = JSON.parse("${{ toJson(matrix) }}"}
59+
const platform = matrix.group.platform;
60+
const jobs = matrix.group.jobs;
6061
console.log(`Calling container-upload workflow for platform: ${platform} with ${jobs.length} jobs`);
6162
6263
await github.rest.actions.createWorkflowDispatch({

0 commit comments

Comments
 (0)