Closed Blank517 closed 2 years ago
Hi, this is most likely related to installation scripts that aren't executed again when the cache is restored. I added a new experimental feature to do this after a restore. This is still in dev. Let me know if it resolves the issue for you.
uses: awalsh128/cache-apt-pkgs-action@dev
with:
packages: yourpackage
version: 1
execute_install_scripts: true
WARNING: The outputs are broken on the action. This shouldn't matter though if you don't use them.
Published the latest version of the action. Going to close this out since this scenario hits up against a known limitation.
https://github.com/awalsh128/cache-apt-pkgs-action/releases/tag/v1.2.0
See the non-file dependencies section of the README.md. I updated it noting the limitations of side effects not as a result of file installations (e.g. configuring another tool).
Workflow Actions I'm trying to cache and restore those packages:
As you can see the first run builds without problems but the second one miss the headers like string.h