From 26d7a0103790bf51d900e231b1b012cd52996f89 Mon Sep 17 00:00:00 2001 From: Jeff Bailey Date: Sun, 29 Mar 2026 15:23:39 +0000 Subject: [PATCH] ci: fix log compression glob for GNU tar's autotest structure Individual test logs are at tests/testsuite.dir/NNN/testsuite.log (two levels deep), not one level deep. Replace the failing shell glob with find -mindepth 2, and update the upload path to match. --- .github/workflows/GnuTests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/GnuTests.yml b/.github/workflows/GnuTests.yml index 2c87db8..83a64a4 100644 --- a/.github/workflows/GnuTests.yml +++ b/.github/workflows/GnuTests.yml @@ -70,15 +70,15 @@ jobs: - name: Compress logs run : | - gzip gnu/tests/*/*.log + find gnu/tests -mindepth 2 -name '*.log' -exec gzip {} \; - name: Upload logs uses: actions/upload-artifact@v4 with: name: test-logs path: | - gnu/tests/*.log - gnu/tests/*/*.log.gz + gnu/tests/testsuite.log + gnu/tests/**/*.log.gz aggregate: needs: [native]