diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05ab0cf1c0..7cb6913671 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -306,7 +306,7 @@ jobs: # Otherwise we run out of disk space with Docker build - name: Free disk space - if: matrix.should_run == true || matrix.kotlin == true + if: (matrix.should_run == true || matrix.kotlin == true) && needs.maybe-release.outputs.reduced != 'true' shell: bash run: ./scripts/ci/linux_util_free_space.sh