mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 06:43:48 +01:00
free disk
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -439,10 +439,9 @@ jobs:
|
||||
run: |
|
||||
echo "Disk space before cleanup:"
|
||||
df -h
|
||||
echo "Removing unwanted software to free up disk space..."
|
||||
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
|
||||
echo "Disk space after cleanup:"
|
||||
df -h
|
||||
echo "Starting background cleanup process..."
|
||||
python3 -c "import os; os.fork() or os.execvp('sudo', ['sudo', 'rm', '-rf', '/usr/share/dotnet', '/usr/local/lib/android', '/opt/ghc', '/opt/hostedtoolcache/CodeQL'])"
|
||||
echo "Cleanup running in background, continuing with workflow..."
|
||||
|
||||
- name: List components
|
||||
run: echo ${{ matrix.components }}
|
||||
|
Reference in New Issue
Block a user