diff --git a/dev/tasks/java-jars/github.yml b/dev/tasks/java-jars/github.yml index 6895a8ed28669..8b76c366633ff 100644 --- a/dev/tasks/java-jars/github.yml +++ b/dev/tasks/java-jars/github.yml @@ -50,6 +50,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) }}