Work around cache-hit bug in cache action.
This commit is contained in:
parent
edd1138fdd
commit
58be009328
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@ packages="${@:4}"
|
||||||
|
|
||||||
script_dir=$(dirname $0)
|
script_dir=$(dirname $0)
|
||||||
|
|
||||||
if [ "$cache_hit" == false ]; then
|
if [ "$cache_hit" == true ]; then
|
||||||
$script_dir/install_and_cache_pkgs.sh ~/cache-apt-pkgs $packages
|
|
||||||
else
|
|
||||||
$script_dir/restore_pkgs.sh ~/cache-apt-pkgs $cache_restore_root
|
$script_dir/restore_pkgs.sh ~/cache-apt-pkgs $cache_restore_root
|
||||||
|
else
|
||||||
|
$script_dir/install_and_cache_pkgs.sh ~/cache-apt-pkgs $packages
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in a new issue