Browse Source

Update build.yml

James McConnell 1 năm trước cách đây
mục cha
commit
254fda9981
1 tập tin đã thay đổi với 11 bổ sung8 xóa
  1. 11 8
      .github/workflows/build.yml

+ 11 - 8
.github/workflows/build.yml

@@ -41,15 +41,18 @@ jobs:
       CCACHE_HARDLINK: "true"
       CCACHE_HARDLINK: "true"
 
 
     steps:
     steps:
-      - name: Maximize build space
-        uses: easimon/maximize-build-space@master
+      - name: Maximize Build Space
+        uses: AdityaGarg8/remove-unwanted-software@v5
         with:
         with:
-          root-reserve-mb: 8192
-          temp-reserve-mb: 2048
-          remove-dotnet: 'true'
-          remove-android: 'true'
-          remove-haskell: 'true'
-          remove-codeql: 'true'
+          remove-dotnet: 'true'          # Frees ~2 GB
+          remove-android: 'true'         # Frees ~9 GB
+          remove-haskell: 'true'         # Frees ~5.2 GB
+          remove-codeql: 'true'          # Frees ~5.4 GB
+          remove-docker-images: 'true'   # Frees ~3.2 GB
+          remove-large-packages: 'true'  # Frees ~3.1 GB
+          remove-swapfile: 'true'        # Frees ~4 GB
+          remove-cached-tools: 'false'   # Avoid unless confirmed safe
+          verbose: 'true'                # Enable detailed logging
           
           
       - name: Set CONFIG Environment Variable
       - name: Set CONFIG Environment Variable
         run: |
         run: |