Skip to content

Commit bec355a

Browse files
committed
Adjust the tar command.
1 parent d63b15b commit bec355a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
if [ "${status:-0}" -ne "0" ] ; then
8484
echo tests failed with status: ${status}
8585
if [ -d "${LOG_ROOT}" ] ; then
86-
tar czf container-logs.tar.gz "${LOG_ROOT}"
86+
tar czf container-logs.tar.gz -C "$(dirname "${LOG_ROOT}")" "$(basename "${LOG_ROOT}")"
8787
fi
8888
exit ${status}
8989
fi

0 commit comments

Comments
 (0)