Skip to content

Commit df43274

Browse files
committed
rm generated clients
1 parent 519faf8 commit df43274

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/check.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ jobs:
148148
)}}
149149
path: clients/algoliasearch-client-javascript/packages/${{ matrix.client }}
150150

151+
- name: Remove generated clients
152+
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
153+
run: cd clients/algoliasearch-client-javascript/packages && ls | grep -v -E "(client-common|requester-*)" | xargs rm -rf
154+
151155
- name: Setup
152156
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
153157
uses: ./.github/actions/setup
@@ -208,6 +212,10 @@ jobs:
208212
with:
209213
type: js_utils
210214

215+
- name: Remove generated clients
216+
if: ${{ steps.cache.outputs.cache-hit != 'true' && matrix.client.language == 'javascript' }}
217+
run: cd ${{ matrix.client.path }}/packages && ls | grep -v -E "(client-common|requester-*)" | xargs rm -rf
218+
211219
- name: Setup
212220
uses: ./.github/actions/setup
213221
with:

0 commit comments

Comments
 (0)