Sfoglia il codice sorgente

fix(action): disable swap space setup for LTO to prevent unnecessary resource allocation

TheWildJames 4 mesi fa
parent
commit
1ac64163a7
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      .github/workflows/build.yml

+ 1 - 0
.github/workflows/build.yml

@@ -52,6 +52,7 @@ jobs:
 
     - name: Setup more Swap (for LTO)
       uses: thejerrybao/setup-swap-space@v1   # or pierotofy/set-swap-space
+      if: false
       with:
         swap-size-gb: 25          # 10-24 GB is common for heavy LTO
         # swap-space-path: /mnt/swapfile   # optional