Skip to content

Commit bb9984d

Browse files
authored
chore: fix setup step (#477)
1 parent 9a5e0c1 commit bb9984d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ jobs:
213213
type: utils
214214

215215
- name: Setup
216-
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
217216
uses: ./.github/actions/setup
218217

219218
- name: Generate clients

scripts/ci/githubActions/createMatrix.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function getClientMatrix(baseBranch: string): Promise<void> {
8383
}
8484

8585
matrix[language].toRun.push(client);
86-
matrix[language].cacheToCompute.push(`specs/bundled/${bundledSpec}.yml`);
86+
matrix[language].cacheToCompute.push(`specs/${bundledSpec}`);
8787
}
8888

8989
const clientMatrix: Matrix<ClientMatrix> = {
@@ -102,6 +102,7 @@ async function getClientMatrix(baseBranch: string): Promise<void> {
102102
toRun: matrix[language].toRun.join(' '),
103103
cacheKey: await computeCacheKey(`clients-${language}`, [
104104
...matrix[language].cacheToCompute,
105+
'specs/common',
105106
`templates/${language}`,
106107
`generators/src`,
107108
]),

scripts/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ buildCommand
184184
const outputFormat = outputJson ? 'json' : 'yml';
185185

186186
let clientsTodo = client;
187-
if (client === ['all']) {
187+
if (client[0] === 'all') {
188188
clientsTodo = CLIENTS;
189189
}
190190
// ignore cache when building from cli

0 commit comments

Comments
 (0)