Преглед изворни кода

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 месеци
родитељ
комит
cc1c22187f
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      .github/workflows/main.yml

+ 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