1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-12 14:53:49 +01:00

free disk

This commit is contained in:
J. Nick Koston
2025-10-10 07:26:58 -10:00
parent 34e7613ffa
commit f89bdeb876

View File

@@ -439,10 +439,9 @@ jobs:
run: | run: |
echo "Disk space before cleanup:" echo "Disk space before cleanup:"
df -h df -h
echo "Removing unwanted software to free up disk space..." echo "Starting background cleanup process..."
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL 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 "Disk space after cleanup:" echo "Cleanup running in background, continuing with workflow..."
df -h
- name: List components - name: List components
run: echo ${{ matrix.components }} run: echo ${{ matrix.components }}