Only output to GITHUB_STEP_SUMMARY in a CI environment

This commit is contained in:
DianQK 2024-04-09 21:46:04 +08:00
parent 9ed6e608c9
commit d92f01a78d
No known key found for this signature in database

View File

@ -339,7 +339,9 @@ docker \
rust-ci \
"${command[@]}"
if isCI; then
cat $objdir/${SUMMARY_FILE} >> "${GITHUB_STEP_SUMMARY}"
fi
if [ -f /.dockerenv ]; then
rm -rf $objdir