瀏覽代碼

fix: disable disk space cleanup step and increase swap size for LTO

TheWildJames 3 月之前
父節點
當前提交
10a73e9d3f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -42,7 +42,7 @@ jobs:
       uses: actions/checkout@v5
 
     - name: Free Disk Space
-      if: true
+      if: false
       uses: endersonmenezes/free-disk-space@v3  # Use @main for latest, @v3 for stable
       with:
         remove_android: true
@@ -59,7 +59,7 @@ jobs:
     - name: Setup more Swap (for LTO)
       uses: thejerrybao/setup-swap-space@v1   # or pierotofy/set-swap-space
       with:
-        swap-size-gb: 12          # 10-24 GB is common for heavy LTO
+        swap-size-gb: 16          # 10-24 GB is common for heavy LTO
         # swap-space-path: /mnt/swapfile   # optional
 
     - name: Setup Build Environment