Use further compression to logs & code coverage reports (#1375)

Co-authored-by: Madhavan Sridharan <madhavan.sridharan@datastax.com>
This commit is contained in:
Madhavan 2023-07-06 08:59:56 -04:00 committed by GitHub
parent b5aa1df8fd
commit 185ca38885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,18 +44,18 @@ jobs:
# Note: the target/coverage-report is not getting generated, involves pom settings not working as expected.
# - name: Collecting reports
# run: tar -cvf codecov-report.tar target/coverage-report/**/*
# run: tar -zcvf codecov-report.tgz target/coverage-report/**/*
#
# - name: Uploading test coverage
# uses: actions/upload-artifact@v3
# with:
# node-version: '16'
# name: codecov-report
# path: codecov-report.tar
# path: codecov-report.tgz
- name: Collecting logfiles
if: success() || failure()
run: tar -cvf logfiles.tar [a-zA-Z]**/logs/*
run: tar -zcvf logfiles.tgz [a-zA-Z]**/logs/*
- name: Uploading log files
if: success() || failure()
@ -63,7 +63,7 @@ jobs:
with:
node-version: '16'
name: nb-logs
path: logfiles.tar
path: logfiles.tgz
- name: export docs
if: success()