Merge branch 'master' of https://github.com/awalsh128/cache-apt-pkgs-action
This commit is contained in:
commit
aa046d0049
1 changed files with 0 additions and 3 deletions
|
@ -25,9 +25,6 @@ for package in $packages; do
|
||||||
cache_filepath=$cache_dir/$package.tar.gz
|
cache_filepath=$cache_dir/$package.tar.gz
|
||||||
echo "::debug::Restoring package $package ($cache_filepath) from cache... "
|
echo "::debug::Restoring package $package ($cache_filepath) from cache... "
|
||||||
sudo tar -xf $cache_filepath -C $cache_restore_root
|
sudo tar -xf $cache_filepath -C $cache_restore_root
|
||||||
# Upgrade the install from last state.
|
|
||||||
# TODO(awalsh128) Add versioning to cache key creation.
|
|
||||||
sudo apt-get --yes --only-upgrade install $package
|
|
||||||
done
|
done
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue