Эх сурвалжийг харах

ci: add disk space cleanup step in GitHub workflow

Add util_free_space.sh script from Apache Arrow to free up disk space before checkout to prevent potential build failures due to insufficient space.
TheWildJames 10 сар өмнө
parent
commit
cc1c22187f

+ 6 - 0
.github/workflows/main.yml

@@ -100,6 +100,12 @@ jobs:
       RELEASE_NAME: "GKI Kernels With WKSU & SUSFS v1.5.12"
       RELEASE_BODY: ""
     steps:
+      - name: Download Apache Arrow's util_free_space.sh
+        run: |
+          curl -L -o util_free_space.sh https://raw.githubusercontent.com/apache/arrow/main/ci/scripts/util_free_space.sh
+          chmod +x util_free_space.sh
+          ./util_free_space.sh
+      
       - name: Checkout code
         uses: actions/checkout@v4