diff --git a/dev/tasks/java-jars/github.yml b/dev/tasks/java-jars/github.yml index d5098839b3d2e..edca73211af35 100644 --- a/dev/tasks/java-jars/github.yml +++ b/dev/tasks/java-jars/github.yml @@ -48,6 +48,11 @@ jobs: {{ macros.github_checkout_arrow()|indent }} {{ macros.github_free_space()|indent }} {{ macros.github_install_archery()|indent }} + - name: Free up disk space + run: | + df -h + sudo rm -rf /opt/hostedtoolcache/CodeQL || : + df -h - name: Build C++ libraries env: {{ macros.github_set_sccache_envvars()|indent(8) }}