@@ -103,7 +103,11 @@ jobs:
103103 ref : " "
104104 test-infra-repository : pytorch/test-infra
105105 test-infra-ref : main
106- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
106+ # Extract the include array from filter-matrix output
107+ build-matrix : |
108+ {
109+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
110+ }
107111 pre-script : ${{ matrix.pre-script }}
108112 script : |
109113 set -euo pipefail
@@ -132,7 +136,11 @@ jobs:
132136 ref : " "
133137 test-infra-repository : pytorch/test-infra
134138 test-infra-ref : main
135- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
139+ # Extract the include array from filter-matrix output
140+ build-matrix : |
141+ {
142+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
143+ }
136144 pre-script : ${{ matrix.pre-script }}
137145 script : |
138146 set -euo pipefail
@@ -164,7 +172,11 @@ jobs:
164172 ref : " "
165173 test-infra-repository : pytorch/test-infra
166174 test-infra-ref : main
167- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
175+ # Extract the include array from filter-matrix output
176+ build-matrix : |
177+ {
178+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
179+ }
168180 pre-script : ${{ matrix.pre-script }}
169181 script : |
170182 set -euo pipefail
@@ -193,7 +205,11 @@ jobs:
193205 ref : " "
194206 test-infra-repository : pytorch/test-infra
195207 test-infra-ref : main
196- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
208+ # Extract the include array from filter-matrix output
209+ build-matrix : |
210+ {
211+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
212+ }
197213 pre-script : ${{ matrix.pre-script }}
198214 script : |
199215 set -euo pipefail
@@ -226,7 +242,11 @@ jobs:
226242 ref : " "
227243 test-infra-repository : pytorch/test-infra
228244 test-infra-ref : main
229- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
245+ # Extract the include array from filter-matrix output
246+ build-matrix : |
247+ {
248+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
249+ }
230250 pre-script : ${{ matrix.pre-script }}
231251 script : |
232252 set -euo pipefail
@@ -255,7 +275,11 @@ jobs:
255275 ref : " "
256276 test-infra-repository : pytorch/test-infra
257277 test-infra-ref : main
258- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
278+ # Extract the include array from filter-matrix output
279+ build-matrix : |
280+ {
281+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
282+ }
259283 pre-script : ${{ matrix.pre-script }}
260284 script : |
261285 set -euo pipefail
@@ -284,7 +308,11 @@ jobs:
284308 ref : " "
285309 test-infra-repository : pytorch/test-infra
286310 test-infra-ref : main
287- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
311+ # Extract the include array from filter-matrix output
312+ build-matrix : |
313+ {
314+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
315+ }
288316 pre-script : ${{ matrix.pre-script }}
289317 script : |
290318 set -euo pipefail
@@ -315,7 +343,11 @@ jobs:
315343 ref : " "
316344 test-infra-repository : pytorch/test-infra
317345 test-infra-ref : main
318- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
346+ # Extract the include array from filter-matrix output
347+ build-matrix : |
348+ {
349+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
350+ }
319351 pre-script : ${{ matrix.pre-script }}
320352 script : |
321353 set -euo pipefail
@@ -348,7 +380,11 @@ jobs:
348380 ref : " "
349381 test-infra-repository : pytorch/test-infra
350382 test-infra-ref : main
351- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
383+ # Extract the include array from filter-matrix output
384+ build-matrix : |
385+ {
386+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
387+ }
352388 pre-script : ${{ matrix.pre-script }}
353389 script : |
354390 set -euo pipefail
@@ -378,7 +414,11 @@ jobs:
378414 ref : " "
379415 test-infra-repository : pytorch/test-infra
380416 test-infra-ref : main
381- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
417+ # Extract the include array from filter-matrix output
418+ build-matrix : |
419+ {
420+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
421+ }
382422 pre-script : ${{ matrix.pre-script }}
383423 script : |
384424 set -euo pipefail
@@ -408,7 +448,11 @@ jobs:
408448 ref : " "
409449 test-infra-repository : pytorch/test-infra
410450 test-infra-ref : main
411- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
451+ # Extract the include array from filter-matrix output
452+ build-matrix : |
453+ {
454+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
455+ }
412456 pre-script : ${{ matrix.pre-script }}
413457 script : |
414458 set -euo pipefail
@@ -437,7 +481,11 @@ jobs:
437481 ref : " "
438482 test-infra-repository : pytorch/test-infra
439483 test-infra-ref : main
440- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
484+ # Extract the include array from filter-matrix output
485+ build-matrix : |
486+ {
487+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
488+ }
441489 pre-script : ${{ matrix.pre-script }}
442490 script : |
443491 set -euo pipefail
@@ -469,7 +517,11 @@ jobs:
469517 ref : " "
470518 test-infra-repository : pytorch/test-infra
471519 test-infra-ref : main
472- build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
520+ # Extract the include array from filter-matrix output
521+ build-matrix : |
522+ {
523+ "include": ${{ toJSON(fromJSON(needs.filter-matrix.outputs.matrix).include) }}
524+ }
473525 pre-script : ${{ matrix.pre-script }}
474526 script : |
475527 set -euo pipefail
0 commit comments