From 3298c104802d118670a487b330ddd3761f7afe20 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 14 Aug 2024 03:09:25 +0200 Subject: [PATCH] chore: free skip space during release --- .github/workflows/tag.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 8f855fe2c71c..03b380b2bab2 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -15,6 +15,28 @@ jobs: GO_VERSION: '1.23' CHOCOLATEY_VERSION: 2.2.0 steps: + # temporary workaround for an error in free disk space action + # https://github.com/jlumbroso/free-disk-space/issues/14 + - name: Update Package List and Remove Dotnet + run: | + sudo apt-get update + sudo apt-get remove -y '^dotnet-.*' + + # https://github.com/marketplace/actions/free-disk-space-ubuntu + - name: Free Disk Space + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed + tool-cache: false + + # all of these default to true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: false + - uses: actions/checkout@v4 with: fetch-depth: 0