ci: Bump max target directory size on Mac to 300GB (#40778)

I did not bump it for Linux as some machines have smaller disks (~300GB
or so); with Mac, we have at least 1TB on all of our boxes

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-10-21 11:24:22 +02:00 committed by GitHub
parent 0721c7873a
commit 977887b65f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,8 +15,11 @@ runs:
node-version: "18"
- name: Limit target directory size
env:
MAX_SIZE: ${{ runner.os == 'macOS' && 300 || 100 }}
shell: bash -euxo pipefail {0}
run: script/clear-target-dir-if-larger-than 100
# Use the variable in the run command
run: script/clear-target-dir-if-larger-than ${{ env.MAX_SIZE }}
- name: Run tests
shell: bash -euxo pipefail {0}