diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 9dc9d85520c2c..4f092d8c04786 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -449,10 +449,7 @@ jobs: pyspark-coursier- - name: Free up disk space shell: 'script -q -e -c "bash {0}"' - run: | - if [ -f ./dev/free_disk_space_container ]; then - ./dev/free_disk_space_container - fi + run: ./dev/free_disk_space_container - name: Install Java ${{ matrix.java }} uses: actions/setup-java@v4 with: @@ -558,10 +555,7 @@ jobs: restore-keys: | sparkr-coursier- - name: Free up disk space - run: | - if [ -f ./dev/free_disk_space_container ]; then - ./dev/free_disk_space_container - fi + run: ./dev/free_disk_space_container - name: Install Java ${{ inputs.java }} uses: actions/setup-java@v4 with: @@ -685,10 +679,7 @@ jobs: restore-keys: | docs-maven- - name: Free up disk space - run: | - if [ -f ./dev/free_disk_space_container ]; then - ./dev/free_disk_space_container - fi + run: ./dev/free_disk_space_container - name: Install Java ${{ inputs.java }} uses: actions/setup-java@v4 with: @@ -831,10 +822,7 @@ jobs: restore-keys: | docs-maven- - name: Free up disk space - run: | - if [ -f ./dev/free_disk_space_container ]; then - ./dev/free_disk_space_container - fi + run: ./dev/free_disk_space_container - name: Install Java ${{ inputs.java }} uses: actions/setup-java@v4 with: