File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,17 @@ jobs:
3838 const splits =
3939 Array.from({ length: Math.ceil(packages.length / 75) },
4040 (_, i) => packages.slice(i * 75, i * 75 + 75).join(' '));
41- for (batch of splits) {
42- console.log("Batch: " + batch);
43- }
44- return {build_env: ['cygwin', 'msys2'], packages: splits};
41+ const empty = ( splits.length === 0);
42+ if (empty)
43+ splits = [''];
44+ return {build_env: ['cygwin', 'msys2'], empty: empty, packages: splits};
4545
4646 build :
4747 name : " target/host: x86_64-w64-mingw32, build: ${{ matrix.build_env }}"
4848 strategy :
4949 fail-fast : false
5050 matrix : ${{ fromJSON(needs.analyse.outputs.matrix) }}
51- if : ${{ (fromJSON(needs.analyse.outputs. matrix)).packages.length > 0 }}
51+ if : ${{ ! matrix.empty }}
5252 runs-on : windows-latest
5353 needs : analyse
5454 steps :
You can’t perform that action at this time.
0 commit comments