From d42d3cd7adff5f7d4c2058abd561f16d0ab917aa Mon Sep 17 00:00:00 2001 From: Jost Berthold Date: Tue, 9 Jul 2024 15:59:43 +1000 Subject: [PATCH] remove older log files before calling gz --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de44476e..1f858a4b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -203,7 +203,7 @@ jobs: run: GC_DONT_GC=1 nix develop .#kmxwasm-test-shell --extra-experimental-features 'nix-command flakes' --print-build-logs --command './generate-claims.sh' - name: Compress server logs from smoke test if: success() || failure() - run: touch /tmp/smoke-log.json && ls -l /tmp/smoke-log.json && gzip /tmp/smoke-log.json + run: touch /tmp/smoke-log.json && ls -l /tmp/smoke-log.json && rm -f /tmp/smoke-log.json.gz && gzip /tmp/smoke-log.json - name: Archive server logs for inspection if: success() || failure() uses: actions/upload-artifact@v4