Work around cache-hit bug in cache action.

This commit is contained in:
awalsh128 2021-10-22 00:12:56 -07:00
parent edd1138fdd
commit 58be009328

View file

@ -18,9 +18,9 @@ packages="${@:4}"
script_dir=$(dirname $0)
if [ "$cache_hit" == false ]; then
$script_dir/install_and_cache_pkgs.sh ~/cache-apt-pkgs $packages
else
if [ "$cache_hit" == true ]; then
$script_dir/restore_pkgs.sh ~/cache-apt-pkgs $cache_restore_root
else
$script_dir/install_and_cache_pkgs.sh ~/cache-apt-pkgs $packages
fi
echo ""