chore: do a disk cleanup in gh actions to fix memo build (#3899)
This commit is contained in:
@@ -7,6 +7,7 @@ on:
|
|||||||
- 'mem0/**'
|
- 'mem0/**'
|
||||||
- 'tests/**'
|
- 'tests/**'
|
||||||
- 'embedchain/**'
|
- 'embedchain/**'
|
||||||
|
- '.github/workflows/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'mem0/**'
|
- 'mem0/**'
|
||||||
@@ -28,6 +29,7 @@ jobs:
|
|||||||
mem0:
|
mem0:
|
||||||
- 'mem0/**'
|
- 'mem0/**'
|
||||||
- 'tests/**'
|
- 'tests/**'
|
||||||
|
- '.github/workflows/**'
|
||||||
embedchain:
|
embedchain:
|
||||||
- 'embedchain/**'
|
- 'embedchain/**'
|
||||||
|
|
||||||
@@ -44,6 +46,13 @@ jobs:
|
|||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
- name: Clean up disk space
|
||||||
|
run: |
|
||||||
|
df -h
|
||||||
|
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
|
||||||
|
sudo docker image prune --all --force
|
||||||
|
sudo docker builder prune -a
|
||||||
|
df -h
|
||||||
- name: Install Hatch
|
- name: Install Hatch
|
||||||
run: pip install hatch
|
run: pip install hatch
|
||||||
- name: Load cached venv
|
- name: Load cached venv
|
||||||
|
|||||||
Reference in New Issue
Block a user