From 8be04b132d49470de512522caa646bddbfdff269 Mon Sep 17 00:00:00 2001 From: Hector Fernandez Date: Mon, 31 Jul 2023 19:29:57 +0200 Subject: [PATCH] attempt to free up some space Signed-off-by: Hector Fernandez --- .github/workflows/validate-release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/validate-release.yml b/.github/workflows/validate-release.yml index cab66a3a0eef..b8854cda4cee 100644 --- a/.github/workflows/validate-release.yml +++ b/.github/workflows/validate-release.yml @@ -48,6 +48,17 @@ jobs: permissions: {} steps: + - name: free up additional worker space + run: | + # Workaround to provide additional free space for testing. + # https://github.com/actions/virtual-environments/issues/2840 + df -h + rm -rf /usr/share/dotnet || true + rm -rf /opt/ghc || true + rm -rf "/usr/local/share/boost" || true + rm -rf "$AGENT_TOOLSDIRECTORY" || true + df -h + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 # Error: fatal: detected dubious ownership in repository at '/__w/cosign/cosign'