Sfoglia il codice sorgente

Update build-kernel-a13-5.10.yml

James McConnell 1 anno fa
parent
commit
6983291ee3
1 ha cambiato i file con 15 aggiunte e 0 eliminazioni
  1. 15 0
      .github/workflows/build-kernel-a13-5.10.yml

+ 15 - 0
.github/workflows/build-kernel-a13-5.10.yml

@@ -57,6 +57,7 @@ jobs:
 
     steps:
       - name: Maximize build space
+        if: ${{ inputs.runner == 'ubuntu-22.04' }}
         uses: easimon/maximize-build-space@master
         with:
           root-reserve-mb: 8192
@@ -66,6 +67,13 @@ jobs:
           remove-android: 'true'
           remove-haskell: 'true'
           remove-codeql: 'true'
+      
+      - name: Clear GitHub Workspace
+        if: ${{ inputs.runner == 'ubuntu-22.04-local' }}
+        run: |
+          echo "Clearing the GitHub workspace..."
+          rm -rf $GITHUB_WORKSPACE/*
+          echo "Workspace cleared."
 
       - name: Set CONFIG Environment Variable
         run: |
@@ -332,3 +340,10 @@ jobs:
           path: |
             *.zip
             *.img
+
+      - name: Clear GitHub Workspace
+        if: ${{ inputs.runner == 'ubuntu-22.04-local' }}
+        run: |
+          echo "Clearing the GitHub workspace..."
+          rm -rf $GITHUB_WORKSPACE/*
+          echo "Workspace cleared."