Cleanup GitHub Runner for Docker CI (#15848)

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Lakshantha Dissanayake 2024-08-27 12:03:55 -07:00 committed by GitHub
parent 848c5cd506
commit db047e4e88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,14 +82,11 @@ jobs:
# tags: "latest-conda" # tags: "latest-conda"
# platforms: "linux/amd64" # platforms: "linux/amd64"
steps: steps:
- name: Cleanup toolcache - name: Cleanup disk
# Free up to 10GB of disk space per https://github.com/ultralytics/ultralytics/pull/14894 # Free up to 30GB of disk space per https://github.com/ultralytics/ultralytics/pull/15848
run: | uses: jlumbroso/free-disk-space@v1.3.1
echo "Free space before deletion:" with:
df -h / tool-cache: true
rm -rf /opt/hostedtoolcache
echo "Free space after deletion:"
df -h /
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v4 uses: actions/checkout@v4