소스 검색

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 9 달 전
부모
커밋
fa51347f1e
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  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: |