From 83ae451df89ca628632299ef9b8b64a03f974cf9 Mon Sep 17 00:00:00 2001 From: Kuba Wieczorek Date: Wed, 11 Oct 2023 15:40:16 +0100 Subject: [PATCH] CI: Pre-emptively delete logs dir after cache restore in test-collect-reports (#23600) --- .github/workflows/test-go.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-go.yml b/.github/workflows/test-go.yml index 6d54ebc74a5f..10b9a1de26c6 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -476,6 +476,7 @@ jobs: name: test-results path: test-results/go-test - run: | + rm -rf test-results/go-test/logs ls -lhR test-results/go-test find test-results/go-test -mindepth 1 -mtime +3 -delete