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.
This commit is contained in:
Jeff Bailey
2026-03-29 15:23:39 +00:00
parent ff6be279d5
commit 26d7a01037
+3 -3
View File
@@ -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]