From af413498fa9f5efbab0134a76f76f9ff5ad77379 Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Fri, 15 Mar 2024 11:28:46 +0800 Subject: [PATCH] =?UTF-8?q?build:=20allinone=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-push.yml | 42 +++++++++++++++++----------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 635cba113..cd3cd274a 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -12,15 +12,20 @@ jobs: build-and-push-fit2cloud-registry: runs-on: ubuntu-latest steps: - - name: Maximize build space - uses: easimon/maximize-build-space@master + - name: Check Disk Space + run: df -h + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main with: - root-reserve-mb: 35840 - remove-dotnet: 'true' - remove-android: 'true' - remove-haskell: 'true' - remove-codeql: 'true' - remove-docker-images: 'true' + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true + - name: Check Disk Space + run: df -h - name: Checkout uses: actions/checkout@v4 with: @@ -57,15 +62,20 @@ jobs: build-and-push-to-ghcr: runs-on: ubuntu-latest steps: - - name: Maximize build space - uses: easimon/maximize-build-space@master + - name: Check Disk Space + run: df -h + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main with: - root-reserve-mb: 35840 - remove-dotnet: 'true' - remove-android: 'true' - remove-haskell: 'true' - remove-codeql: 'true' - remove-docker-images: 'true' + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true + - name: Check Disk Space + run: df -h - name: Checkout uses: actions/checkout@v4 with: