Procházet zdrojové kódy

Merge pull request #15 from Bodya-Kolibass/android-11

Optimize runner resource usage
寄寄子 před 4 roky
rodič
revize
3b9fbb43f6
1 změnil soubory, kde provedl 8 přidání a 3 odebrání
  1. 8 3
      .github/workflows/Make.yml

+ 8 - 3
.github/workflows/Make.yml

@@ -80,15 +80,20 @@ jobs:
       run: |
         PATH=~/bin:$PATH
         cd workspace
-        repo sync -j$(nproc --all) -f --force-sync
-        ls -al
+        repo sync -j$(nproc --all) -c --no-clone-bundle --no-tags
+        rm -rf .repo
       
     - name: Clone device tree
       run: |
         PATH=~/bin:$PATH
         cd ${{ steps.pwd.outputs.pwd }}
         git clone ${{ github.event.inputs.DEVICE_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
-
+        
+    - name: Set Swap Space
+      uses: pierotofy/set-swap-space@master
+      with:
+        swap-size-gb: 10
+        
     - name: Building recovery
       run: |
         PATH=~/bin:$PATH