mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 18:55:30 +00:00
Minor edit to reporting.
This commit is contained in:
parent
4e7f5ac971
commit
2516d0fc19
|
@ -21,11 +21,12 @@ for cache_filename in $cache_filenames; do
|
||||||
echo "- $cache_filename"
|
echo "- $cache_filename"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Restoring cached packages..."
|
echo -n "Restoring cached packages..."
|
||||||
for package in $packages; do
|
for package in $packages; do
|
||||||
cache_filepath=$cache_dir/$package.tar.gz
|
cache_filepath=$cache_dir/$package.tar.gz
|
||||||
echo "- $package ($cache_filepath)"
|
echo "- $package ($cache_filepath)"
|
||||||
sudo tar -xf $cache_filepath -C $cache_restore_root > /dev/null
|
sudo tar -xf $cache_filepath -C $cache_restore_root > /dev/null
|
||||||
done
|
done
|
||||||
|
echo "done."
|
||||||
|
|
||||||
echo "$cache_filename_count package(s) restored."
|
echo "$cache_filename_count package(s) restored."
|
Loading…
Reference in a new issue