Skip to content

Commit b6bba50

Browse files
trying to fix....
1 parent 1111dce commit b6bba50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/lite-test-ubuntu-headless.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
shell: bash
8585
run: |
8686
# Get the build cache size (in MB)
87-
cache_size=$(docker system df --format '{{.BuildCacheSize}}' | tr -d '[:alpha:]' | tr -d '[:space:]')
87+
cache_size=$(docker system df --format '{{.Size}}' --filter type=build-cache | tr -d '[:alpha:]' | tr -d '[:space:]')
8888
# Check if the cache size exceeds 50GB (50000MB)
8989
if [ "$cache_size" -gt 50000 ]; then
9090
echo "Cache is over 50GB, pruning..."
@@ -93,6 +93,7 @@ jobs:
9393
echo "Cache size is under 50GB, no action taken."
9494
fi
9595
96+
9697
# Build and Push Dev_25 Docker Image for Unix using bash
9798
- name: Build and Push Dev_25 Docker Image (multi-arch, Unix)
9899
if: runner.os != 'Windows'

0 commit comments

Comments
 (0)