From 01241f1ca81833e742c35a2ee297a68a0b0cf86b Mon Sep 17 00:00:00 2001 From: Sergio Date: Wed, 13 Nov 2024 13:37:04 +0100 Subject: [PATCH] Don't depend on outside action --- .github/workflows/push-docker-image.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push-docker-image.yml b/.github/workflows/push-docker-image.yml index d20390c..80a2504 100644 --- a/.github/workflows/push-docker-image.yml +++ b/.github/workflows/push-docker-image.yml @@ -28,10 +28,15 @@ jobs: - uses: actions/checkout@v3 # Some images are too large and we run out of disk space, so try to free some - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@v1.3.1 - with: - tool-cache: false + - name: Free disk space + run: | + # https://github.com/jlumbroso/free-disk-space + set -ex + sudo rm -rf /usr/local/lib/android || true + sudo rm -rf /usr/share/dotnet || true + sudo rm -rf /opt/ghc || true + sudo rm -rf /usr/local/.ghcup || true + sudo docker image prune --all --force || true - name: Install prerequisites run: |