diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index be1573d8df30..2fe0c7fb71d5 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -110,6 +110,12 @@ jobs: echo "exists=false" >> $GITHUB_OUTPUT fi + - name: Free disk cache + if: ${{ !startsWith(runner.name, 'GitHub Actions') && inputs.target == 'x86_64-unknown-linux-gnu' && steps.check_cache.outputs.exists != 'true' && !inputs.skipable }} + uses: jlumbroso/free-disk-space@main + with: + tool-cache: false + # Linux - name: Build x86_64-unknown-linux-gnu in Docker if: ${{ inputs.target == 'x86_64-unknown-linux-gnu' && steps.check_cache.outputs.exists != 'true' && !inputs.skipable }}