Skip to content

Commit 1f37e28

Browse files
author
Daniele Briggi
committed
fix(workflow): remove files not folder
1 parent 4b26ead commit 1f37e28

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
exit 1
124124
125125
- name: remove with-javascript-express
126-
run: rm -rf examples/with-javascript-express
126+
run: rm -rf examples/with-javascript-express/*
127127

128128
- name: node with-plain-javascript
129129
working-directory: examples/with-plain-javascript
@@ -191,7 +191,7 @@ jobs:
191191
192192
- name: remove with-plain-javascript
193193
if: matrix.os != 'windows-latest' #kill command doesn not work on windows with bash, we can skip this step
194-
run: rm -rf examples/with-plain-javascript
194+
run: rm -rf examples/with-plain-javascript/*
195195

196196
- name: node with-typescript-knex
197197
working-directory: examples/with-typescript-knex
@@ -222,7 +222,7 @@ jobs:
222222
exit 1
223223
224224
- name: remove with-typescript-knex
225-
run: rm -rf examples/with-typescript-knex
225+
run: rm -rf examples/with-typescript-knex/*
226226

227227
- name: node with-typescript-nextjs
228228
working-directory: examples/with-typescript-nextjs
@@ -276,7 +276,7 @@ jobs:
276276
277277
- name: remove with-typescript-nextjs
278278
if: matrix.os != 'ubuntu-latest' #rm: cannot remove examples/with-typescript-nextjs: Directory not empty
279-
run: rm -rf examples/with-typescript-nextjs
279+
run: rm -rf examples/with-typescript-nextjs/*
280280

281281
- name: node with-javascript-vite
282282
if: matrix.os != 'LinuxARM64'
@@ -305,7 +305,7 @@ jobs:
305305
PW_DISABLE_TS_ESM: true
306306

307307
- name: remove with-javascript-vite
308-
run: rm -rf examples/with-javascript-vite
308+
run: rm -rf examples/with-javascript-vite/*
309309

310310
- name: node with-javascript-browser
311311
if: matrix.os != 'LinuxARM64'
@@ -326,7 +326,7 @@ jobs:
326326
command: cd examples/with-javascript-browser && deno --allow-all test.cjs
327327

328328
- name: remove with-javascript-browser
329-
run: rm -rf examples/with-javascript-browser
329+
run: rm -rf examples/with-javascript-browser/*
330330

331331
rn-ios-test:
332332
needs: code-test

0 commit comments

Comments
 (0)