Skip to content

Commit 0aa01e1

Browse files
committed
Update ci to fix disk space bug
1 parent 47003d4 commit 0aa01e1

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

.github/workflows/build_micropython_xiao_nrf52840.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16+
# Clean disk space before build
17+
- name: Clean disk space before build
18+
run: |
19+
sudo apt clean
20+
sudo rm -rf /usr/local/lib/android || true
21+
sudo rm -rf /opt/hostedtoolcache || true
22+
docker system prune -f || true
23+
npm cache clean --force || true
24+
1625
# Checkout the repository
1726
- name: Checkout repository
1827
uses: actions/checkout@v4

.github/workflows/build_micropython_xiao_nrf54l15.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16+
# Clean disk space before build
17+
- name: Clean disk space before build
18+
run: |
19+
sudo apt clean
20+
sudo rm -rf /usr/local/lib/android || true
21+
sudo rm -rf /opt/hostedtoolcache || true
22+
docker system prune -f || true
23+
npm cache clean --force || true
24+
1625
# Checkout the repository
1726
- name: Checkout repository
1827
uses: actions/checkout@v4

.github/workflows/build_micropython_xiao_ra4m1.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16+
# Clean disk space before build
17+
- name: Clean disk space before build
18+
run: |
19+
sudo apt clean
20+
sudo rm -rf /usr/local/lib/android || true
21+
sudo rm -rf /opt/hostedtoolcache || true
22+
docker system prune -f || true
23+
npm cache clean --force || true
24+
1625
# Checkout the repository
1726
- name: Checkout repository
1827
uses: actions/checkout@v4

0 commit comments

Comments
 (0)