From b22ee762312b62a618efbe227f65f09791b321d3 Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Tue, 26 Sep 2023 17:07:36 +0100 Subject: [PATCH] HPCC-30364 GH Action running out of diskspace Signed-off-by: Gordon Smith --- .github/workflows/build-and-publish-debug.yml | 3 +++ .github/workflows/build-and-publish.yml | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/build-and-publish-debug.yml b/.github/workflows/build-and-publish-debug.yml index 3b32b2ebe44..e50caded83d 100644 --- a/.github/workflows/build-and-publish-debug.yml +++ b/.github/workflows/build-and-publish-debug.yml @@ -18,6 +18,9 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'hpcc-systems/HPCC-Platform' steps: + - name: Free additional disk space (remove Android SDK + Tools) + run: | + sudo rm -rf /usr/local/lib/android - name: Checkout uses: actions/checkout@v2 - name: Build diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 2d09d008f2e..598e540198d 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -18,6 +18,9 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'hpcc-systems/HPCC-Platform' steps: + - name: Free additional disk space (remove Android SDK + Tools) + run: | + sudo rm -rf /usr/local/lib/android - name: Checkout uses: actions/checkout@v2 - name: Build @@ -41,6 +44,9 @@ jobs: matrix: engine: ['ml', 'gnn', 'gnn-gpu'] steps: + - name: Free additional disk space (remove Android SDK + Tools) + run: | + sudo rm -rf /usr/local/lib/android - name: Checkout uses: actions/checkout@v2 - name: Build @@ -58,6 +64,9 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'hpcc-systems/HPCC-Platform' steps: + - name: Free additional disk space (remove Android SDK + Tools) + run: | + sudo rm -rf /usr/local/lib/android - name: Checkout uses: actions/checkout@v2 - name: Build