浏览代码

Merge pull request #80115 from akien-mga/ci-free-disk-space

CI: Free disk space on Linux runners
Yuri Sizov 2 年之前
父节点
当前提交
c5903cf381
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      .github/workflows/linux_builds.yml

+ 6 - 0
.github/workflows/linux_builds.yml

@@ -85,6 +85,12 @@ jobs:
           sudo add-apt-repository ppa:kisak/kisak-mesa
           sudo add-apt-repository ppa:kisak/kisak-mesa
           sudo apt-get install -qq mesa-vulkan-drivers
           sudo apt-get install -qq mesa-vulkan-drivers
 
 
+      - name: Free disk space on runner
+        run: |
+          echo "Disk usage before:" && df -h
+          sudo rm -rf /usr/local/lib/android
+          echo "Disk usage after:" && df -h
+
       - name: Setup Godot build cache
       - name: Setup Godot build cache
         uses: ./.github/actions/godot-cache
         uses: ./.github/actions/godot-cache
         with:
         with: