@@ -240,7 +240,8 @@ jobs:
240240 with :
241241 username : hardcoreeng
242242 password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
243-
243+ - name : Free space
244+ uses : ./.github/actions/free-disk-space
244245 - name : Docker Build
245246 run : node common/scripts/install-run-rush.js docker
246247 env :
@@ -371,7 +372,8 @@ jobs:
371372 with :
372373 username : hardcoreeng
373374 password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
374-
375+ - name : Free space
376+ uses : ./.github/actions/free-disk-space
375377 - name : Docker Build
376378 run : node common/scripts/install-run-rush.js docker
377379 env :
@@ -467,6 +469,8 @@ jobs:
467469 with :
468470 username : hardcoreeng
469471 password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
472+ - name : Free space
473+ uses : ./.github/actions/free-disk-space
470474 - name : Docker Build
471475 run : node common/scripts/install-run-rush.js docker
472476 env :
@@ -549,6 +553,8 @@ jobs:
549553 with :
550554 username : hardcoreeng
551555 password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
556+ - name : Free space
557+ uses : ./.github/actions/free-disk-space
552558 - name : Docker Build
553559 run : node common/scripts/install-run-rush.js docker
554560 env :
@@ -606,16 +612,13 @@ jobs:
606612 timeout-minutes : 60
607613 steps :
608614 # https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
609- - name : Free disk space
610- run : |
611- echo "Disk space before cleanup:"
612- df -h
613- sudo rm -rf /usr/share/dotnet
614- sudo rm -rf /opt/ghc
615- sudo rm -rf "/usr/local/share/boost"
616- sudo rm -rf "$AGENT_TOOLSDIRECTORY"
617- echo "Disk space after cleanup:"
618- df -h
615+ - uses : actions/checkout@v4
616+ with :
617+ fetch-depth : 0
618+ filter : tree:0
619+ submodules : recursive
620+ - name : Free space
621+ uses : ./.github/actions/free-disk-space
619622 - name : Set up QEMU
620623 uses : docker/setup-qemu-action@v3
621624 - name : Configure docker
@@ -627,11 +630,6 @@ jobs:
627630 "containerd-snapshotter": true
628631 }
629632 }
630- - uses : actions/checkout@v4
631- with :
632- fetch-depth : 0
633- filter : tree:0
634- submodules : recursive
635633
636634 - name : Checkout init repository
637635 run : |
0 commit comments