mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 18:55:30 +00:00
Work around cache-hit bug in cache action.
This commit is contained in:
parent
edd1138fdd
commit
58be009328
|
@ -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 ""
|
||||
|
|
Loading…
Reference in a new issue