Skip to content

Commit 27ddb90

Browse files
authored
Merge branch 'main' into fix/recommend-specs
2 parents c1a0d6a + f1eb132 commit 27ddb90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci/githubActions/createMatrix.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,15 @@ async function createClientMatrix(baseBranch: string): Promise<void> {
139139
});
140140
}
141141

142-
const shouldRun = clientMatrix.client.length > 0;
143-
144142
const javascriptData = clientMatrix.client.find((c) => c.language === 'javascript');
145143
if (javascriptData) {
146144
core.setOutput('JAVASCRIPT_DATA', JSON.stringify(javascriptData));
147145
core.setOutput('RUN_GEN_JAVASCRIPT', true);
148146
clientMatrix.client = clientMatrix.client.filter((c) => c.language !== 'javascript');
149147
}
150148

149+
const shouldRun = clientMatrix.client.length > 0;
150+
151151
core.setOutput('RUN_GEN', shouldRun);
152152
core.setOutput('GEN_MATRIX', JSON.stringify(shouldRun ? clientMatrix : EMPTY_MATRIX));
153153
}

0 commit comments

Comments
 (0)