Skip to content

Commit 5d0285f

Browse files
committed
ci: reviewed cleanup step
1 parent b812594 commit 5d0285f

File tree

1 file changed

+48
-8
lines changed

1 file changed

+48
-8
lines changed

.github/workflows/main.yml

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ jobs:
1616
outputs:
1717
needs_build: ${{ steps.filter.outputs.needs_build }}
1818
steps:
19-
- uses: TooMuch4U/[email protected]
19+
- name: 'Cleanup build folder'
20+
run: |
21+
ls -la ./
22+
rm -rf ./* || true
23+
rm -rf ./.??* || true
24+
ls -la ./
2025
- uses: actions/checkout@v4
2126
with:
2227
fetch-depth: 25
@@ -42,7 +47,12 @@ jobs:
4247
NODE_ENV: development
4348

4449
steps:
45-
- uses: TooMuch4U/[email protected]
50+
- name: 'Cleanup build folder'
51+
run: |
52+
ls -la ./
53+
rm -rf ./* || true
54+
rm -rf ./.??* || true
55+
ls -la ./
4656
- uses: actions/checkout@v4
4757
with:
4858
fetch-depth: 25
@@ -99,7 +109,12 @@ jobs:
99109
AWS_REGION: us-east-1
100110

101111
steps:
102-
- uses: TooMuch4U/[email protected]
112+
- name: 'Cleanup build folder'
113+
run: |
114+
ls -la ./
115+
rm -rf ./* || true
116+
rm -rf ./.??* || true
117+
ls -la ./
103118
- name: dpkg configure
104119
run: |
105120
apt update
@@ -237,7 +252,12 @@ jobs:
237252
# part: [1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8, 8/8]
238253

239254
steps:
240-
- uses: TooMuch4U/[email protected]
255+
- name: 'Cleanup build folder'
256+
run: |
257+
ls -la ./
258+
rm -rf ./* || true
259+
rm -rf ./.??* || true
260+
ls -la ./
241261
- name: dpkg configure
242262
run: |
243263
apt update
@@ -296,7 +316,12 @@ jobs:
296316
needs: core-build
297317

298318
steps:
299-
- uses: TooMuch4U/[email protected]
319+
- name: 'Cleanup build folder'
320+
run: |
321+
ls -la ./
322+
rm -rf ./* || true
323+
rm -rf ./.??* || true
324+
ls -la ./
300325
- name: Use Node.js 22.6.0
301326
uses: actions/setup-node@v4
302327
with:
@@ -337,7 +362,12 @@ jobs:
337362
- live-preview-react
338363

339364
steps:
340-
- uses: TooMuch4U/[email protected]
365+
- name: 'Cleanup build folder'
366+
run: |
367+
ls -la ./
368+
rm -rf ./* || true
369+
rm -rf ./.??* || true
370+
ls -la ./
341371
- name: Use Node.js 22.6.0
342372
uses: actions/setup-node@v4
343373
with:
@@ -376,7 +406,12 @@ jobs:
376406
- plugin-seo
377407

378408
steps:
379-
- uses: TooMuch4U/[email protected]
409+
- name: 'Cleanup build folder'
410+
run: |
411+
ls -la ./
412+
rm -rf ./* || true
413+
rm -rf ./.??* || true
414+
ls -la ./
380415
- name: Use Node.js 22.6.0
381416
uses: actions/setup-node@v4
382417
with:
@@ -405,7 +440,12 @@ jobs:
405440
needs: tests-e2e
406441
runs-on: [self-hosted]
407442
steps:
408-
- uses: TooMuch4U/[email protected]
443+
- name: 'Cleanup build folder'
444+
run: |
445+
ls -la ./
446+
rm -rf ./* || true
447+
rm -rf ./.??* || true
448+
ls -la ./
409449
- uses: actions/upload-artifact@v4
410450
if: always()
411451
with:

0 commit comments

Comments
 (0)