mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Simplify benchmark report extraction process by using quiet unzip and removing unnecessary steps
This commit is contained in:
parent
eab1c5eec1
commit
eeabfcfff6
9
.github/workflows/docs-and-testcov.yml
vendored
9
.github/workflows/docs-and-testcov.yml
vendored
@ -130,13 +130,8 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
unzip benchmark-report.zip -d benchmark-report
|
||||
# there will be a tar file in the benchmark-report directory
|
||||
# called artifact.tar. unzip it into the benchmark-report
|
||||
tar -xvf benchmark-report/artifact.tar -C benchmark-report
|
||||
# remove the artifact.tar file
|
||||
rm benchmark-report/artifact.tar
|
||||
# add an index.html that points to benchmark-report/report/index.html
|
||||
unzip -q benchmark-report.zip -d benchmark-report
|
||||
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; url=report/index.html\">" > benchmark-report/index.html
|
||||
|
||||
- name: Copy files to output directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user