mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-03-04 12:19:39 +00:00
Report file size of cached packages.
This commit is contained in:
parent
843a78dbf3
commit
eb177a2a2b
|
@ -62,7 +62,7 @@ for package in ${normalized_packages}; do
|
||||||
if test -f $f; then echo "${f:1}"; fi; #${f:1} removes the leading slash that Tar disallows
|
if test -f $f; then echo "${f:1}"; fi; #${f:1} removes the leading slash that Tar disallows
|
||||||
done |
|
done |
|
||||||
xargs tar -czf "${cache_filepath}" -C /
|
xargs tar -czf "${cache_filepath}" -C /
|
||||||
echo "done."
|
echo "done (compressed size $(du -k "${cache_filepath}" | cut -f1))."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Comma delimited name:ver pairs in the all packages manifest.
|
# Comma delimited name:ver pairs in the all packages manifest.
|
||||||
|
|
Loading…
Reference in a new issue