.github: create tarball of test logs for upload

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg 2022-05-29 15:59:02 +02:00
parent 0d02ba63bb
commit abb093c330

View File

@ -60,7 +60,8 @@ jobs:
run: | run: |
cd build/dir cd build/dir
make check || (cat test/test-suite.log; false) make check || (cat test/test-suite.log; false)
tar cfz ~/test-logs.tar.gz test/*.log
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: test-logs name: test-logs
path: test/*.log path: ~/test-logs.tar.gz