Procházet zdrojové kódy

ci: simplify download and execution of util_free_space.sh

Replace multi-step download and execution with a single curl pipe to bash for cleaner workflow
TheWildJames před 9 měsíci
rodič
revize
fa51347f1e
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1 3
      .github/workflows/build.yml

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

@@ -39,9 +39,7 @@ jobs:
           
       - 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
+          curl -Ls https://raw.githubusercontent.com/apache/arrow/main/ci/scripts/util_free_space.sh | bash
           
       - name: Check Disk Space After Cleanup
         run: |