mirror of
https://github.com/uutils/tar.git
synced 2026-06-10 16:14:35 -07:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user