Cleanup GitHub Runner for Docker CI (#15848)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
848c5cd506
commit
db047e4e88
1 changed files with 5 additions and 8 deletions
13
.github/workflows/docker.yaml
vendored
13
.github/workflows/docker.yaml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue